Message190860
| Author |
akuchling |
| Recipients |
Jim.Jewett, akuchling, cvrebert, docs@python, ezio.melotti |
| Date |
2013年06月09日.16:05:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1370793928.47.0.485055115179.issue14015@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here's a proposed patch that touches the Sphinx documentation and a docstring in codecs.py. The text is slightly revised from my current revisions to the Unicode howto.
help(open) says "See the documentation for codecs.register for a list of the permitted encoding error strings". This is strictly correct: the Sphinx documentation features this info. But help(codecs.register) doesn't; it's more helpful to look at help(codecs.Codec).
So maybe the docstring for open() should say: "See help(codecs.Codec) for a list of the permitted..." instead. |
|