Fix syntax errors and duplicate entries in code documentation.
Review Request #12675 — Created Oct. 7, 2022 and submitted
We had some docstrings that contained typos/syntax errors, and some
attributes that were documented twice in the move to class-level typing
This fixes up those docstrings, taking care of most remaining errors in
the docstrings. There are still some left, but they'll need to be
Built the docs. Saw that all these errors had gone away.