diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-12-03 10:46:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 10:46:16 (GMT) |
commit | 2ad93821a69e6efac3b0efe1d205d6e5ef030791 (patch) | |
tree | 1f13d7f20f919864be2571adaa8a2e13daff4609 /Objects/clinic | |
parent | f3c3ea91a76526edff928c95b9c6767e077b7448 (diff) | |
download | cpython-2ad93821a69e6efac3b0efe1d205d6e5ef030791.zip cpython-2ad93821a69e6efac3b0efe1d205d6e5ef030791.tar.gz cpython-2ad93821a69e6efac3b0efe1d205d6e5ef030791.tar.bz2 |
bpo-42431: Fix outdated bytes comments (GH-23458)
Also move definitions of internal macros F_LJUST etc to private header.
Diffstat (limited to 'Objects/clinic')
-rw-r--r-- | Objects/clinic/bytearrayobject.c.h | 4 | ||||
-rw-r--r-- | Objects/clinic/bytesobject.c.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Objects/clinic/bytearrayobject.c.h b/Objects/clinic/bytearrayobject.c.h index 3452b24..1e3f197 100644 --- a/Objects/clinic/bytearrayobject.c.h +++ b/Objects/clinic/bytearrayobject.c.h @@ -990,7 +990,7 @@ PyDoc_STRVAR(bytearray_hex__doc__, "hex($self, /, sep=<unrepresentable>, bytes_per_sep=1)\n" "--\n" "\n" -"Create a str of hexadecimal numbers from a bytearray object.\n" +"Create a string of hexadecimal numbers from a bytearray object.\n" "\n" " sep\n" " An optional single character or byte to separate hex bytes.\n" @@ -1120,4 +1120,4 @@ bytearray_sizeof(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored)) { return bytearray_sizeof_impl(self); } -/*[clinic end generated code: output=47cd9ad3fdc3ac0c input=a9049054013a1b77]*/ +/*[clinic end generated code: output=a82659f581e55629 input=a9049054013a1b77]*/ diff --git a/Objects/clinic/bytesobject.c.h b/Objects/clinic/bytesobject.c.h index 27ac6b1..9e365ce 100644 --- a/Objects/clinic/bytesobject.c.h +++ b/Objects/clinic/bytesobject.c.h @@ -750,7 +750,7 @@ PyDoc_STRVAR(bytes_hex__doc__, "hex($self, /, sep=<unrepresentable>, bytes_per_sep=1)\n" "--\n" "\n" -"Create a str of hexadecimal numbers from a bytes object.\n" +"Create a string of hexadecimal numbers from a bytes object.\n" "\n" " sep\n" " An optional single character or byte to separate hex bytes.\n" @@ -878,4 +878,4 @@ skip_optional_pos: exit: return return_value; } -/*[clinic end generated code: output=6101b417d6a6a717 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=b3f0ec2753246b9c input=a9049054013a1b77]*/ |