]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in _swappedbytes_ in ctypes comment (#102773)
authorMatthias Görgens <matthias.goergens@gmail.com>
Sat, 25 Mar 2023 23:38:24 +0000 (07:38 +0800)
committerGitHub <noreply@github.com>
Sat, 25 Mar 2023 23:38:24 +0000 (16:38 -0700)
It's a minor typo, but it makes for a misleading comment.  Let's fix it.

Lib/ctypes/_endian.py

index 34dee64b1a65a693b34417c274d1de9ccdc05123..b5446c049bc9dcb007cd05cc9df8bb94fc3de730 100644 (file)
@@ -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":