problem with calendar

Roman Suzi rnd at onego.ru
Fri Nov 1 05:55:19 EST 2002


I have the following problem:

Python 2.2.2 (#1, Oct 18 2002, 11:40:02)
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import calendar
>>> calendar.month_abbr
<calendar._localized_month instance at 0x8164a5c>
>>> calendar.month_abbr()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: _localized_month instance has no __call__ method

What's up?

Sincerely yours, Roman A.Suzi
-- 
 - Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
 





not to mailto:aaro at onego.ru





More information about the Python-list mailing list