[Python-checkins] cpython (merge 3.5 -> default): Issue #16192: Merge from 3.5
berker.peksag
python-checkins at python.org
Thu Jun 2 18:18:08 EDT 2016
https://hg.python.org/cpython/rev/7f3ebd86464b
changeset: 101623:7f3ebd86464b
parent: 101621:59a52a9dd0dc
parent: 101622:dfde53cf07e6
user: Berker Peksag <berker.peksag at gmail.com>
date: Thu Jun 02 15:28:29 2016 -0700
summary:
Issue #16192: Merge from 3.5
files:
Doc/library/ctypes.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -21,9 +21,9 @@
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:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list