diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-12-28 00:59:02 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-12-28 00:59:02 (GMT) |
commit | 301e95668621c14218564762d4bc22f103ad2e43 (patch) | |
tree | a7fe810550d67949ed0e6e3060687a029aebe23a /Doc | |
parent | 92be939695a43f039f3ef0d0d5fe55dc67607f70 (diff) | |
download | cpython-301e95668621c14218564762d4bc22f103ad2e43.zip cpython-301e95668621c14218564762d4bc22f103ad2e43.tar.gz cpython-301e95668621c14218564762d4bc22f103ad2e43.tar.bz2 |
Issue #8966: Remove the documentation of ctypes.set_conversion_mode()
Function removed by r83195.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/ctypes.rst | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 35874b6..f006565 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1930,22 +1930,6 @@ Utility functions but it is possible to enlarge the buffer. -.. function:: set_conversion_mode(encoding, errors) - - This function sets the rules that ctypes objects use when converting between - bytes objects and (unicode) strings. *encoding* must be a string specifying an - encoding, like ``'utf-8'`` or ``'mbcs'``, *errors* must be a string specifying - the error handling on encoding/decoding errors. Examples of possible values are - ``'strict'``, ``'replace'``, or ``'ignore'``. - - :func:`set_conversion_mode` returns a 2-tuple containing the previous - conversion rules. On windows, the initial conversion rules are ``('mbcs', - 'ignore')``, on other systems ``('ascii', 'strict')``. - - You can set the *encoding* to ``'undefined'`` to completely disable automatic - conversions. - - .. function:: set_errno(value) Set the current value of the ctypes-private copy of the system :data:`errno` |