Fixed #6596 -- Corrected minor typo in comment. Thanks, cbmeeks@gmail.com.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2008-02-13 23:28:58 +00:00
parent ad23fff759
commit 7d2a8f0e18
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class Model(object):
# There is a rather weird disparity here; if kwargs, it's set, then args # There is a rather weird disparity here; if kwargs, it's set, then args
# overrides it. It should be one or the other; don't duplicate the work # overrides it. It should be one or the other; don't duplicate the work
# The reason for the kwargs check is that standard iterator passes in by # The reason for the kwargs check is that standard iterator passes in by
# args, and nstantiation for iteration is 33% faster. # args, and instantiation for iteration is 33% faster.
args_len = len(args) args_len = len(args)
if args_len > len(self._meta.fields): if args_len > len(self._meta.fields):
# Daft, but matches old exception sans the err msg. # Daft, but matches old exception sans the err msg.