[Python-Dev] cpython: Document PyUnicode_Copy() and PyUnicode_EncodeCodePage() (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri Dec 9 01:35:35 CET 2011
- Previous message: [Python-Dev] re.findall() should return named tuple
- Next message: [Python-Dev] cpython: Document PyUnicode_Copy() and PyUnicode_EncodeCodePage()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 09 Dec 2011 00:16:02 +0100 victor.stinner <python-checkins at python.org> wrote:
+.. c:function:: PyObject* PyUnicodeCopy(PyObject *unicode) + + Get a new copy of a Unicode object. + + .. versionadded:: 3.3
I'm not sure I understand. Why would you make a copy of an immutable object?
- Previous message: [Python-Dev] re.findall() should return named tuple
- Next message: [Python-Dev] cpython: Document PyUnicode_Copy() and PyUnicode_EncodeCodePage()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]