Kaydet (Commit) 7d2a8f0e authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

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
üst ad23fff7
......@@ -139,7 +139,7 @@ class Model(object):
# 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
# 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)
if args_len > len(self._meta.fields):
# Daft, but matches old exception sans the err msg.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment