]> granicus.if.org Git - python/commitdiff
merge 3.4 (#23110)
authorBenjamin Peterson <benjamin@python.org>
Wed, 24 Dec 2014 16:51:10 +0000 (10:51 -0600)
committerBenjamin Peterson <benjamin@python.org>
Wed, 24 Dec 2014 16:51:10 +0000 (10:51 -0600)
1  2 
Doc/c-api/init.rst

index eda21414b8ab8e1af55de23990c9c308502af038,eb542de4d8b01fc4a6fb6c00da4d7805bff093de..5caa81ee247ee20f2eeb03c78d8f87ce5aa69b34
@@@ -248,9 -245,9 +248,12 @@@ Process-wide parameter
     :data:`sys.exec_prefix` to be empty.  It is up to the caller to modify these
     if required after calling :c:func:`Py_Initialize`.
  
 +   Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
 +   :c:type:`wchar_*` string.
 +
+    The path argument is copied internally, so the caller may free it after the
+    call completes.
  
  .. c:function:: const char* Py_GetVersion()