summaryrefslogtreecommitdiffstats
path: root/Doc/library/stdtypes.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-31 16:33:38 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-31 16:33:38 (GMT)
commit85eb8c103c9e460917911b43c6be302c30d75efb (patch)
tree2cbb4ff9497eb9db774e40d4f84abb368a311ed6 /Doc/library/stdtypes.rst
parent3540ef16c19f2260e347a679cb27d44ba734bec6 (diff)
downloadcpython-85eb8c103c9e460917911b43c6be302c30d75efb.zip
cpython-85eb8c103c9e460917911b43c6be302c30d75efb.tar.gz
cpython-85eb8c103c9e460917911b43c6be302c30d75efb.tar.bz2
- document bytes()
- throw out many mentions of "old-style/new-style" - add memoryview() though I somebody has to fill in the details - throw out str.decode() - throw out classobj and instanceobj
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r--Doc/library/stdtypes.rst16
1 files changed, 0 insertions, 16 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 084c07c..9fd6e44 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -682,22 +682,6 @@ the :mod:`re` module for string functions based on regular expressions.
slice notation.
-.. XXX what about str.decode???
-.. method:: str.decode([encoding[, errors]])
-
- Decode the string using the codec registered for *encoding*. *encoding*
- defaults to the default string encoding. *errors* may be given to set a
- different error handling scheme. The default is ``'strict'``, meaning that
- encoding errors raise :exc:`UnicodeError`. Other possible values are
- ``'ignore'``, ``'replace'`` and any other name registered via
- :func:`codecs.register_error`, see section :ref:`codec-base-classes`.
-
- .. versionadded:: 2.2
-
- .. versionchanged:: 2.3
- Support for other error handling schemes added.
-
-
.. method:: str.encode([encoding[, errors]])
Return an encoded version of the string. Default encoding is the current