fix code block syntax in two docstrings