Opened 8 years ago

Closed 8 years ago

#4106 closed (fixed)

Typo (important) in datastructures.py - MultiValueDict

Reported by: Amr Mostafa Owned by: adrian
Component: Core (Other) Version: master
Severity: Keywords:
Cc: amr.mostafa@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Around line 214 in django/utils/datastructures.py

raise TypeError, "update expected at most 1 arguments, got %d", len(args)

Should be

raise TypeError, "update expected at most 1 arguments, got %d" % len(args)

(Latest comma replaced by %)

I will attach a patch in case it's more convenient.

Attachments (1)

datastructures_multivaluedict_typo.diff (673 bytes) - added by Amr Mostafa 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Amr Mostafa

comment:1 Changed 8 years ago by Gary Wilson <gary.wilson@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [5060]) Fixed #4106 -- Fixed typo in datastructures.py. Thanks, Amr Mostafa

Note: See TracTickets for help on using tickets.
Back to Top