diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-02 22:28:00 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-02 22:28:00 (GMT) |
commit | 8891dfe71754685edc8bf84661f6848f1c5a6dc1 (patch) | |
tree | 9616ad62eac6b0dcef5e8a580abcfebc4b7a9a59 /Doc/library | |
parent | a714616d36131860f4f3f18bc2cfaf9a578db053 (diff) | |
download | cpython-8891dfe71754685edc8bf84661f6848f1c5a6dc1.zip cpython-8891dfe71754685edc8bf84661f6848f1c5a6dc1.tar.gz cpython-8891dfe71754685edc8bf84661f6848f1c5a6dc1.tar.bz2 |
Issue #16192: Fix copy and paste mistake noticed by Eryk Sun
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/ctypes.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 521b8b9..508ffc3 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -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: |