]> granicus.if.org Git - python/commitdiff
Issue #16192: Fix copy and paste mistake noticed by Eryk Sun
authorBerker Peksag <berker.peksag@gmail.com>
Thu, 2 Jun 2016 22:28:00 +0000 (15:28 -0700)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 2 Jun 2016 22:28:00 +0000 (15:28 -0700)
Doc/library/ctypes.rst

index 521b8b9b1d44062da8f6cd77e9b2ccc7cfdd93c2..508ffc3b4a2accd98a0fd594340407d3b7ca9d00 100644 (file)
@@ -21,9 +21,9 @@ they actually work.  Since some code samples behave differently under Linux,
 Windows, or Mac OS X, they contain doctest directives in comments.
 
 Note: Some code samples reference the ctypes :class:`c_int` type.  On platforms
-where ``sizeof(long double) == sizeof(double)`` it is an alias to
-:class:`c_double`.  So, you should not be confused if :class:`c_long` is
-printed if you would expect :class:`c_int` --- they are actually the same type.
+where ``sizeof(long) == sizeof(int)`` it is an alias to :class:`c_long`.
+So, you should not be confused if :class:`c_long` is printed if you would expect
+:class:`c_int` --- they are actually the same type.
 
 .. _ctypes-loading-dynamic-link-libraries: