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.

Author abarry
Recipients Dyl Tuckey, abarry
Date 2016-06-24.14:56:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466780191.11.0.78253641487.issue27382@psf.upfronthosting.co.za>
In-reply-to
Content
You're overriding the 'calendar' variable, holding the module, by the result of your 'calender.month' call, which happens to be a str. Use a different variable name (e.g. 'result') and the error will disappear.

Unrelated, but don't check for 'if x == True' - just do 'if x' and the result will be the same (also allows for any other result than booleans).
History
Date User Action Args
2016-06-24 14:56:31abarrysetrecipients: + abarry, Dyl Tuckey
2016-06-24 14:56:31abarrysetmessageid: <1466780191.11.0.78253641487.issue27382@psf.upfronthosting.co.za>
2016-06-24 14:56:31abarrylinkissue27382 messages
2016-06-24 14:56:30abarrycreate