From 16d1682e58c897a72527f746fb9a9ab6e5ce6a20 Mon Sep 17 00:00:00 2001 From: Brian May Date: Mon, 20 Aug 2018 17:13:21 +1000 Subject: Use the namedtuple class supplied with Python --- doc/python-format.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3