[ python-Feature Requests-1714448 ] if something as x:

SourceForge.net noreply at sourceforge.net
Mon May 7 19:10:37 CEST 2007


Feature Requests item #1714448, was opened at 2007-05-07 21:09
Message generated for change (Settings changed) made by k0wax
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: None
Status: Open
Resolution: None
>Priority: 1
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.

----------------------------------------------------------------------

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