Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca4589e

Browse files
committed
Issue #16192: Merge from 3.5
2 parents cdc0879 + 8891dfe commit ca4589e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/ctypes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ they actually work. Since some code samples behave differently under Linux,
2121
Windows, or Mac OS X, they contain doctest directives in comments.
2222

2323
Note: Some code samples reference the ctypes :class:`c_int` type. On platforms
24-
where ``sizeof(long double) == sizeof(double)`` it is an alias to
25-
:class:`c_double`. So, you should not be confused if :class:`c_long` is
26-
printed if you would expect :class:`c_int` --- they are actually the same type.
24+
where ``sizeof(long) == sizeof(int)`` it is an alias to :class:`c_long`.
25+
So, you should not be confused if :class:`c_long` is printed if you would expect
26+
:class:`c_int` --- they are actually the same type.
2727

2828
.. _ctypes-loading-dynamic-link-libraries:
2929

0 commit comments

Comments
 (0)