]> granicus.if.org Git - python/commitdiff
Issue #27740: Fix typo in Py_CompileStringExFlags
authorBerker Peksag <berker.peksag@gmail.com>
Wed, 28 Sep 2016 16:35:25 +0000 (19:35 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Wed, 28 Sep 2016 16:35:25 +0000 (19:35 +0300)
Doc/c-api/veryhigh.rst

index e9c9377ef8a83cd0e2701e072fc74a724a91e8c4..d0ceb05322150ef3b85b8959217b06f056d32ddb 100644 (file)
@@ -288,7 +288,7 @@ the same library that the Python runtime is using.
 
 .. c:function:: PyObject* Py_CompileStringExFlags(const char *str, const char *filename, int start, PyCompilerFlags *flags, int optimize)
 
-   Like :c:func:`Py_CompileStringExFlags`, but *filename* is a byte string
+   Like :c:func:`Py_CompileStringObject`, but *filename* is a byte string
    decoded from the filesystem encoding (:func:`os.fsdecode`).
 
    .. versionadded:: 3.2