diff options
| author | Georg Brandl <georg@python.org> | 2007-12-29 10:57:00 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-12-29 10:57:00 +0000 |
| commit | b19be571e09263239ef29c92eee06dbb30186685 (patch) | |
| tree | 9c8a5439b14ce34cfaa0e4e164483b0f8690aa42 /Doc/reference/datamodel.rst | |
| parent | 28c7bcf38e1e69a9091cbba90b982331428ddbe6 (diff) | |
| download | cpython-git-b19be571e09263239ef29c92eee06dbb30186685.tar.gz | |
Some cleanup in the docs.
Diffstat (limited to 'Doc/reference/datamodel.rst')
| -rw-r--r-- | Doc/reference/datamodel.rst | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index dc2fbd8f02..b45044de58 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -214,8 +214,6 @@ Numbers without causing overflow, will yield the same result in the long integer domain or when using mixed operands. - .. % Integers - Floating point numbers .. index:: object: floating point @@ -241,8 +239,6 @@ Numbers The real and imaginary parts of a complex number ``z`` can be retrieved through the read-only attributes ``z.real`` and ``z.imag``. - .. % Numbers - Sequences .. index:: builtin: len @@ -346,8 +342,6 @@ Sequences by itself does not create a tuple, since parentheses must be usable for grouping of expressions). An empty tuple can be formed by an empty pair of parentheses. - .. % Immutable sequences - Mutable sequences .. index:: object: mutable sequence @@ -376,10 +370,6 @@ Sequences The extension module :mod:`array` provides an additional example of a mutable sequence type. - .. % Mutable sequences - - .. % Sequences - Set types .. index:: builtin: len @@ -414,8 +404,6 @@ Set types :term:`hashable`, it can be used again as an element of another set, or as a dictionary key. - .. % Set types - Mappings .. index:: builtin: len @@ -453,8 +441,6 @@ Mappings The extension modules :mod:`dbm`, :mod:`gdbm`, and :mod:`bsddb` provide additional examples of mapping types. - .. % Mapping types - Callable types .. index:: object: callable @@ -726,8 +712,6 @@ Modules object used to initialize the module (since it isn't needed once the initialization is done). - .. % - Attribute assignment updates the module's namespace dictionary, e.g., ``m.x = 1`` is equivalent to ``m.__dict__["x"] = 1``. @@ -1078,10 +1062,6 @@ Internal types described above, under "User-defined methods". Class method objects are created by the built-in :func:`classmethod` constructor. - .. % Internal types - -.. % Types -.. % ========================================================================= .. _newstyle: @@ -1128,8 +1108,6 @@ The plan is to eventually drop old-style classes, leaving only the semantics of new-style classes. This change will probably only be feasible in Python 3.0. new-style classic old-style -.. % ========================================================================= - .. _specialnames: |
