diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-04-09 12:49:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 12:49:49 (GMT) |
commit | 4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d (patch) | |
tree | e43ab76f49e1b4ecc8feda8b197a3fcc256e43a2 /Python | |
parent | 87ed1beb3e15c619f25b9a9308d1ec35659feffd (diff) | |
download | cpython-4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d.zip cpython-4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d.tar.gz cpython-4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d.tar.bz2 |
bpo-30134: fix BytesWarning doc, docstring and message (GH-12739)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 2c9f55f..abdfb14 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -70,7 +70,7 @@ int Py_VerboseFlag; /* Needed by import.c */ int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */ int Py_InspectFlag; /* Needed to determine whether to exit at SystemExit */ int Py_NoSiteFlag; /* Suppress 'import site' */ -int Py_BytesWarningFlag; /* Warn on str(bytes) and str(buffer) */ +int Py_BytesWarningFlag; /* Warn on comparison between bytearray and unicode */ int Py_DontWriteBytecodeFlag; /* Suppress writing bytecode files (*.py[co]) */ int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */ int Py_FrozenFlag; /* Needed by getpath.c */ |