summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2018-08-20 17:13:21 +1000
committerBrian May <brian@linuxpenguins.xyz>2018-08-20 17:13:21 +1000
commitdba05bacec0829a32385b2a90a197cf4a50a5613 (patch)
tree19e66070a4350653ebe8b5756cdd1aea29228102 /doc
parentb92c7cf1a42bd1588e7788a63bae735b65b27513 (diff)
Use the namedtuple class supplied with Python
Diffstat (limited to 'doc')
-rw-r--r--doc/python-format.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/python-format.txt b/doc/python-format.txt
index 2650f7e259..ef6711fc8b 100644
--- a/doc/python-format.txt
+++ b/doc/python-format.txt
@@ -3,8 +3,7 @@ NOTE: THIS DOES NOT DESCRIBE THE CURRENT IMPLEMENTATION
# Layout of major internal data structures
Most data structures use named tuples, as provided by
-xcollections.namedtuples (they are not available in Python 2.5, but
-the implementation from Python 2.6 works on Python 2.5, too).
+collections.namedtuples.
Due to the way unpickling works, you need to import the "parsers"
package.

© 2014-2024 Faster IT GmbH | imprint | privacy policy