From: Matthias Görgens Date: Sat, 25 Mar 2023 23:38:24 +0000 (+0800) Subject: Fix typo in _swappedbytes_ in ctypes comment (#102773) X-Git-Tag: v3.12.0a7~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30a306c2ade6c2af3c0b1d988a17dae3916e0d27;p=thirdparty%2FPython%2Fcpython.git Fix typo in _swappedbytes_ in ctypes comment (#102773) It's a minor typo, but it makes for a misleading comment. Let's fix it. --- diff --git a/Lib/ctypes/_endian.py b/Lib/ctypes/_endian.py index 34dee64b1a65..b5446c049bc9 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":