From: Raymond Hettinger Date: Tue, 20 Jan 2009 03:36:36 +0000 (+0000) Subject: Make merging easier by formattng comment blocks the same in Py3.1 X-Git-Tag: v2.7a1~2241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae3f068fb533b5c861912d865b9eedf5a6d5ba62;p=thirdparty%2FPython%2Fcpython.git Make merging easier by formattng comment blocks the same in Py3.1 --- diff --git a/Lib/collections.py b/Lib/collections.py index 1d3fb402528c..a853076cb295 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