From ae3f068fb533b5c861912d865b9eedf5a6d5ba62 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 20 Jan 2009 03:36:36 +0000 Subject: Make merging easier by formattng comment blocks the same in Py3.1 --- Lib/collections.py | 8 +++++--- 1 file 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 -- cgit v0.12