remove trailing whitespace from some util classes

This commit is contained in:
Brian Warner 2009-06-29 13:03:41 -07:00
parent d0f80579a5
commit dddc2d0378
2 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ def del_if_present(d, k):
class ValueOrderedDict:
"""
Note: this implementation assumes that the values do not mutate and change
their sort order. That is, it stores the values in a sorted list and
their sort order. That is, it stores the values in a sorted list and
as items are added and removed from the dict, it makes updates to the list
which will keep the list sorted. But if a value that is currently sitting
in the list changes its sort order, then the internal consistency of this

View File

@ -19,7 +19,7 @@ class NummedObj(object):
if klass is None:
klass = self.__class__
self._classname = klass.__name__
NummedObj.objnums.inc(self._classname)
self._objid = NummedObj.objnums[self._classname]