File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,10 @@ Note: The code samples in this tutorial use :mod:`doctest` to make sure that
2020they actually work. Since some code samples behave differently under Linux,
2121Windows, or Mac OS X, they contain doctest directives in comments.
2222
23- Note: Some code samples reference the ctypes :class: `c_int ` type. This type is
24- an alias for the :class: `c_long ` type on 32-bit systems. So, you should not be
25- confused if :class: `c_long ` is printed if you would expect :class: `c_int ` ---
26- they are actually the same type.
27-
23+ 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.
2827
2928.. _ctypes-loading-dynamic-link-libraries :
3029
You can’t perform that action at this time.
0 commit comments