This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: calendar.weekheader not found in __all__
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: quiver, rhettinger
Priority: normal Keywords:

Created on 2005-05-02 15:56 by quiver, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cal.diff quiver, 2005-05-02 15:56
Messages (2)
msg25206 - (view) Author: George Yoshida (quiver) (Python committer) Date: 2005-05-02 15:56
calendar.weekheader is documented and a public 
function form its beginning but not included in 
calendar.__all__. So
  >>> from calendar import *; weekheader
triggers a NameError.

Fix is trivial. Just add 'weekheader' to __all__.
msg25207 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-05-10 03:22
Logged In: YES 
user_id=80475

Lib/calendar.py 1.36 and  1.35.2.1
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 41937
2005-05-02 15:56:56quivercreate