diff -r 09011896374d Doc/library/ctypes.rst --- a/Doc/library/ctypes.rst Sat Sep 15 08:34:47 2012 +0300 +++ b/Doc/library/ctypes.rst Thu Oct 11 15:39:48 2012 +1300 @@ -273,7 +273,7 @@ the correct type and value:: >>> c_int() - c_long(0) + c_int(0) >>> c_wchar_p("Hello, World") c_wchar_p('Hello, World') >>> c_ushort(-3) @@ -284,7 +284,7 @@ >>> i = c_int(42) >>> print(i) - c_long(42) + c_int(42) >>> print(i.value) 42 >>> i.value = -99