Skip to content

Commit 30a306c

Browse files
Fix typo in _swappedbytes_ in ctypes comment (#102773)
It's a minor typo, but it makes for a misleading comment. Let's fix it.
1 parent 718e866 commit 30a306c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ctypes/_endian.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class _swapped_union_meta(_swapped_meta, type(Union)): pass
3737
################################################################
3838

3939
# Note: The Structure metaclass checks for the *presence* (not the
40-
# value!) of a _swapped_bytes_ attribute to determine the bit order in
40+
# value!) of a _swappedbytes_ attribute to determine the bit order in
4141
# structures containing bit fields.
4242

4343
if sys.byteorder == "little":

0 commit comments

Comments
 (0)