easy question on parsing python: "is not None"
Bruno Desthuilliers
bruno.42.desthuilliers at websiteburo.invalid
Mon Aug 9 05:04:40 EDT 2010
More information about the Python-list mailing list
Mon Aug 9 05:04:40 EDT 2010
- Previous message (by thread): easy question on parsing python: "is not None"
- Next message (by thread): easy question on parsing python: "is not None"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gregory Ewing a écrit : > Ethan Furman wrote: > >> Instead of using 'is' use '=='. Maybe not as cute, but definitely >> more robust! > > It's also just as efficient if you use strings that > resemble identifiers, because they will be interned, Remember : this IS an implementation detail.
- Previous message (by thread): easy question on parsing python: "is not None"
- Next message (by thread): easy question on parsing python: "is not None"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list