Retrieving Python Keywords

Terry Reedy tjreedy at udel.edu
Sat Apr 9 22:01:39 EDT 2011


On 4/9/2011 9:28 PM, candide wrote:
> Python is very good at introspection, so I was wondering if Python (2.7)
> provides any feature to retrieve the list of its keywords (and, as,
> assert, break, ...).

Yes. (Look in the manuals, or try the obvious imports ;-)

-- 
Terry Jan Reedy




More information about the Python-list mailing list