summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Görgens <matthias.goergens@gmail.com>2023-03-25 23:38:24 (GMT)
committerGitHub <noreply@github.com>2023-03-25 23:38:24 (GMT)
commit30a306c2ade6c2af3c0b1d988a17dae3916e0d27 (patch)
treebc85c3240bfbbb323a1262f273b5e456da4782d5
parent718e86671fe62a706c460b7f049b196e434cb5b3 (diff)
downloadcpython-30a306c2ade6c2af3c0b1d988a17dae3916e0d27.zip
cpython-30a306c2ade6c2af3c0b1d988a17dae3916e0d27.tar.gz
cpython-30a306c2ade6c2af3c0b1d988a17dae3916e0d27.tar.bz2
Fix typo in _swappedbytes_ in ctypes comment (#102773)
It's a minor typo, but it makes for a misleading comment. Let's fix it.
-rw-r--r--Lib/ctypes/_endian.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/_endian.py b/Lib/ctypes/_endian.py
index 34dee64..b5446c0 100644
--- a/Lib/ctypes/_endian.py
+++ b/Lib/ctypes/_endian.py
@@ -37,7 +37,7 @@ class _swapped_union_meta(_swapped_meta, type(Union)): pass
################################################################
# Note: The Structure metaclass checks for the *presence* (not the
-# value!) of a _swapped_bytes_ attribute to determine the bit order in
+# value!) of a _swappedbytes_ attribute to determine the bit order in
# structures containing bit fields.
if sys.byteorder == "little":