Opened 10 years ago

Closed 10 years ago

#4106 closed (fixed)

Typo (important) in datastructures.py - MultiValueDict

Reported by: Amr Mostafa Owned by: Adrian Holovaty
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 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Amr Mostafa

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

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

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

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