]> granicus.if.org Git - python/commitdiff
Make merging easier by formattng comment blocks the same in Py3.1
authorRaymond Hettinger <python@rcn.com>
Tue, 20 Jan 2009 03:36:36 +0000 (03:36 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 20 Jan 2009 03:36:36 +0000 (03:36 +0000)
Lib/collections.py

index 1d3fb402528c0cc1b98769475067b4fe385232ac..a853076cb295e3844227c8abce760912f0db83cf 100644 (file)
@@ -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