Message106703
| Author |
vstinner |
| Recipients |
barry, benjamin.peterson, brett.cannon, georg.brandl, vstinner |
| Date |
2010年05月29日.02:34:35 |
| SpamBayes Score |
0.0071076704 |
| Marked as misclassified |
No |
| Message-id |
<1275100479.27.0.416759734649.issue8215@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Patch to update the documenation, especially input types for PyArg_ParseTuple() and output types for Py_BuildValue():
- add bytes and/or bytearray when buffer compatible object is accepted to be more explicit
- "es", "et", "es#", "et#" don't accept buffer compatible objects: fix the doc
- specify utf-8 encoding
- mark "U" and "U#" as deprecated: see issue #8848
- fix ".. note::" syntax
- replace "Unicode" by "str"
- replace "bytes object" by "bytes"
- replace "any buffer compatible object" by "buffer compatible object"
I hesitate to add explicit quotes, eg. "s" instead of s. |
|