summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-12-03 10:46:16 (GMT)
committerGitHub <noreply@github.com>2020-12-03 10:46:16 (GMT)
commit2ad93821a69e6efac3b0efe1d205d6e5ef030791 (patch)
tree1f13d7f20f919864be2571adaa8a2e13daff4609 /Include/cpython
parentf3c3ea91a76526edff928c95b9c6767e077b7448 (diff)
downloadcpython-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 'Include/cpython')
-rw-r--r--Include/cpython/bytesobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/bytesobject.h b/Include/cpython/bytesobject.h
index f284c58..6b3f552 100644
--- a/Include/cpython/bytesobject.h
+++ b/Include/cpython/bytesobject.h
@@ -10,7 +10,7 @@ typedef struct {
/* Invariants:
* ob_sval contains space for 'ob_size+1' elements.
* ob_sval[ob_size] == 0.
- * ob_shash is the hash of the string or -1 if not computed yet.
+ * ob_shash is the hash of the byte string or -1 if not computed yet.
*/
} PyBytesObject;