>>>>> "JF" == Jim Fulton <jim@digicool.com> writes: JF> BTW, a good precedent for what I want JF> is getattr. JF> getattr(None,'spam') JF> raises an error, but: JF> getattr(None,'spam',1) JF> returns 1 Barry A. Warsaw writes: > Fred, the built-in-funcs doc needs updating: This is done in the CVS repository; thanks for pointing out the oversight! Do people realize that pop() already has an optional parameter? That *is* in the docs: http://www.python.org/docs/current/lib/typesseq-mutable.html See note 4 below the table. -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4