summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-26 23:17:56 (GMT)
committerGitHub <noreply@github.com>2019-08-26 23:17:56 (GMT)
commit1d4285a042772c7a31c4e19f8dbcbcf9b2ee3b95 (patch)
tree8f42ad3eb4e63e4136efb9f78aba8efbe42f1585 /Include/internal
parentc75f0e5bdee3cfaba9fd5b3a8549dec0aba01ebe (diff)
downloadcpython-1d4285a042772c7a31c4e19f8dbcbcf9b2ee3b95.zip
cpython-1d4285a042772c7a31c4e19f8dbcbcf9b2ee3b95.tar.gz
cpython-1d4285a042772c7a31c4e19f8dbcbcf9b2ee3b95.tar.bz2
bpo-36763: Make Py_BytesMain() public (GH-15532)
Declare Py_BytesMain() in Include/pylifecycle.h, rather in Include/internal/pycore_pylifecycle.h. (cherry picked from commit 9a943b4ce13fac26873b8100e89c818c5c47ac4b) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_pylifecycle.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h
index 51f05b3..a21eb01 100644
--- a/Include/internal/pycore_pylifecycle.h
+++ b/Include/internal/pycore_pylifecycle.h
@@ -15,8 +15,6 @@ extern "C" {
* KeyboardInterrupt exception, suggesting the user pressed ^C. */
PyAPI_DATA(int) _Py_UnhandledKeyboardInterrupt;
-PyAPI_FUNC(int) Py_BytesMain(int argc, char **argv);
-
extern int _Py_SetFileSystemEncoding(
const char *encoding,
const char *errors);