Fixed spelling of initializing in datastructures.py comment
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
64fae18505
commit
c3f91bb2b1
|
@ -94,7 +94,7 @@ class SortedDict(dict):
|
||||||
|
|
||||||
def copy(self):
|
def copy(self):
|
||||||
"Returns a copy of this object."
|
"Returns a copy of this object."
|
||||||
# This way of initialising the copy means it works for subclasses, too.
|
# This way of initializing the copy means it works for subclasses, too.
|
||||||
obj = self.__class__(self)
|
obj = self.__class__(self)
|
||||||
obj.keyOrder = self.keyOrder
|
obj.keyOrder = self.keyOrder
|
||||||
return obj
|
return obj
|
||||||
|
|
Loading…
Reference in New Issue