]> granicus.if.org Git - python/commit
Special case the "s#" PyArg_Parse() token for Unicode objects:
authorMarc-André Lemburg <mal@egenix.com>
Thu, 21 Sep 2000 21:08:08 +0000 (21:08 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Thu, 21 Sep 2000 21:08:08 +0000 (21:08 +0000)
commit3578b77312720061ef3e5a86e3db4f3c968edf56
tree2022a0ef31308131e30604085452b25bab79972d
parent265a804af22d2513403c295d9218ba41753ca218
Special case the "s#" PyArg_Parse() token for Unicode objects:
"s#" will now return a pointer to the default encoded string data
of the Unicode object instead of a pointer to the raw UTF-16
data.

The latter is still available via PyObject_AsReadBuffer().
Doc/ext/ext.tex