From: Berker Peksag Date: Wed, 28 Sep 2016 16:35:25 +0000 (+0300) Subject: Issue #27740: Fix typo in Py_CompileStringExFlags X-Git-Tag: v3.6.0b2~98^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab39b0995870d1ecb8efbc8c42ffebf615da400b;p=python Issue #27740: Fix typo in Py_CompileStringExFlags --- diff --git a/Doc/c-api/veryhigh.rst b/Doc/c-api/veryhigh.rst index e9c9377ef8..d0ceb05322 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