builtin functions
Martin von Loewis
loewis at informatik.hu-berlin.de
Wed Aug 8 07:34:03 EDT 2001
Johan <johan at johanjonkers.com> writes:
> Does anyone know why I loose direct access to the builtin functions?
> am I doing something wrong?
Could it be that you use "type" as the name of a local or
module-global variable? Those are found before the builtin is found.
If you find that calling type fails, you may try "print type" just
before you call it. Depending on what it prints, you may get a clue
where exactly type is assigned to.
Regards,
Martin
More information about the Python-list
mailing list