1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Fixed the use of the -ise suffix, where -ize is prefered

This commit is contained in:
Alex Gaynor
2013-11-15 05:23:10 -08:00
parent a90ffcac21
commit 10a09b8e60
4 changed files with 4 additions and 4 deletions

View File

@@ -243,7 +243,7 @@ class QuerySet(object):
skip = None
if load_fields and not fill_cache:
# Some fields have been deferred, so we have to initialise
# Some fields have been deferred, so we have to initialize
# via keyword arguments.
skip = set()
init_list = []

View File

@@ -188,7 +188,7 @@ class HttpResponseBase(six.Iterator):
def __getstate__(self):
# SimpleCookie is not pickeable with pickle.HIGHEST_PROTOCOL, so we
# serialise to a string instead
# serialize to a string instead
state = self.__dict__.copy()
state['cookies'] = str(state['cookies'])
return state

View File

@@ -260,7 +260,7 @@ class LazyObject(object):
def _setup(self):
"""
Must be implemented by subclasses to initialise the wrapped object.
Must be implemented by subclasses to initialize the wrapped object.
"""
raise NotImplementedError('subclasses of LazyObject must provide a _setup() method')