Callable-iterator is not callable ;-)

Roman Suzi rnd at onego.ru
Sun Feb 9 06:55:16 EST 2003


"""
>>> re.finditer("[0-9]", text)(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: 'callable-iterator' object is not callable
"""

Interesting, why is it named callable then?

Sincerely yours, Roman Suzi
-- 
rnd at onego.ru =\= My AI powered by Linux RedHat 7.3






More information about the Python-list mailing list