Idioms and Anti-Idioms Question

Miles Kaufmann milesck at umich.edu
Mon Jun 22 19:34:40 EDT 2009


On Jun 22, 2009, at 12:14 AM, Ben Charrow wrote:

> What is subtly wrong about this piece of code?  I can't see any bugs  
> and can't think of subtle gotchas (e.g. the '\' is removed or the  
> lines become separated, because in both cases an IndentationError  
> would be raised).

Perhaps, along with one of those gotchas, a mix of tabs and spaces are  
used such that the second line only _appears_ to have a different  
level of indentation? ;)

-Miles




More information about the Python-list mailing list