[ python-Feature Requests-1714448 ] if something as x:
SourceForge.net
noreply at sourceforge.net
Fri May 18 04:12:37 CEST 2007
Feature Requests item #1714448, was opened at 2007-05-07 12:09
Message generated for change (Comment added) made by rhettinger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1714448&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
>Group: Python 2.6
Status: Open
Resolution: None
>Priority: 5
Private: No
Submitted By: k0wax (k0wax)
Assigned to: Nobody/Anonymous (nobody)
Summary: if something as x:
Initial Comment:
---
if map[x][y].overlay:
map[x][y].overlay.blit(x,y)
---
... and ...
---
if map[x][y].overpay as ob:
ob.blit(x, y)
---
the second one looks much more fun I think.
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2007-05-17 21:12
Message:
Logged In: YES
user_id=80475
Originator: NO
Toss your idea out on python-ideas.
It isn't horrible.
And it helps with while-statement issues.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1714448&group_id=5470
More information about the Python-bugs-list
mailing list