summaryrefslogtreecommitdiffstats
path: root/Lib/collections.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-20 03:36:36 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-01-20 03:36:36 (GMT)
commitae3f068fb533b5c861912d865b9eedf5a6d5ba62 (patch)
tree15d12a5c833fe93625dc26de8bc93241868390a3 /Lib/collections.py
parent562a4ada56e0a46a6cb02b4050ab4faad7157d31 (diff)
downloadcpython-ae3f068fb533b5c861912d865b9eedf5a6d5ba62.zip
cpython-ae3f068fb533b5c861912d865b9eedf5a6d5ba62.tar.gz
cpython-ae3f068fb533b5c861912d865b9eedf5a6d5ba62.tar.bz2
Make merging easier by formattng comment blocks the same in Py3.1
Diffstat (limited to 'Lib/collections.py')
-rw-r--r--Lib/collections.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/collections.py b/Lib/collections.py
index 1d3fb40..a853076 100644
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -12,8 +12,9 @@ import sys as _sys
import heapq as _heapq
from itertools import repeat as _repeat, chain as _chain, starmap as _starmap, ifilter as _ifilter
-########################################################################
-### namedtuple #######################################################
+################################################################################
+### namedtuple
+################################################################################
def namedtuple(typename, field_names, verbose=False):
"""Returns a new subclass of tuple with named fields.
@@ -114,7 +115,8 @@ def namedtuple(typename, field_names, verbose=False):
########################################################################
-### Counter ##########################################################
+### Counter
+########################################################################
class Counter(dict):
'''Dict subclass for counting hashable items. Sometimes called a bag