Opened 14 years ago
Closed 14 years ago
#13657 closed (fixed)
Fix a SyntaxWarning (shows up on PyPy)
Reported by: | Alex Gaynor | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
global declerations should preceed assignment
Attachments (1)
Change History (2)
by , 14 years ago
Attachment: | django-syntax-warning.diff added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [13325]) Fixed #13657: Moved global declaration before assignments to avoid a syntax warning. Thanks Alex.