View Single Post
Old Jun 3rd, 2006, 12:11 PM   #12
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Sane
I got it from the CherryPy FAQs on using reserved function names.
I think I found the FAQ you mean, and I think you've misunderstood it slightly.

The CherryPy FAQ was talking about using reserved names (such as 'class' or 'print') for the names of methods in functions. Because CherryPy takes the function name as the page name, this is relevant if one wants to have a page in CherryPy called "class" or "return", or something similar.

This doesn't apply to the names of builtin functions, just reserved names that are part of the Python syntax itself.
Arevos is offline   Reply With Quote