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 /Include/code.h | |
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 'Include/code.h')
-rw-r--r-- | Include/code.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/code.h b/Include/code.h index 7456fd6..26c571a 100644 --- a/Include/code.h +++ b/Include/code.h @@ -104,7 +104,7 @@ PyAPI_FUNC(int) _PyCode_CheckLineNumber(PyCodeObject* co, * * Return (type(obj), obj, ...): a tuple with variable size (at least 2 items) * depending on the type and the value. The type is the first item to not - * compare bytes and str which can raise a BytesWarning exception. */ + * compare bytes and unicode which can raise a BytesWarning exception. */ PyAPI_FUNC(PyObject*) _PyCode_ConstantKey(PyObject *obj); PyAPI_FUNC(PyObject*) PyCode_Optimize(PyObject *code, PyObject* consts, |