summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/veryhigh.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-09-28 16:35:25 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-09-28 16:35:25 (GMT)
commitab39b0995870d1ecb8efbc8c42ffebf615da400b (patch)
tree10c5e9b63c2fac87211088a91c9e8154727c082b /Doc/c-api/veryhigh.rst
parentaa5c2fdb7c11c2d4b83e287724dd6b7c5b75ba7b (diff)
downloadcpython-ab39b0995870d1ecb8efbc8c42ffebf615da400b.zip
cpython-ab39b0995870d1ecb8efbc8c42ffebf615da400b.tar.gz
cpython-ab39b0995870d1ecb8efbc8c42ffebf615da400b.tar.bz2
Issue #27740: Fix typo in Py_CompileStringExFlags
Diffstat (limited to 'Doc/c-api/veryhigh.rst')
-rw-r--r--Doc/c-api/veryhigh.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/veryhigh.rst b/Doc/c-api/veryhigh.rst
index e9c9377..d0ceb05 100644
--- a/Doc/c-api/veryhigh.rst
+++ b/Doc/c-api/veryhigh.rst
@@ -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