Minor typo in 12.4 zipfile — Work with ZIP archives (python 2.7

9 Feb
2017
9 Feb
'17
1:35 p.m.
Hello everyone!
I've found a tiny typo in the documentation: https://docs.python.org/2/library/zipfile.html#zipfile.BadZipfile
Where it says *exception *zipfile.BadZipfile -- It should say *exception *zipfile.BadZipFile
Keep up with the great job.
My best regards, João Guerreiro

9 Feb
9 Feb
3:03 p.m.
On 09/02/2017 13:35, João Guerreiro wrote:
I've found a tiny typo in the documentation: https://docs.python.org/2/library/zipfile.html#zipfile.BadZipfile
Where it says /exception /|zipfile.||BadZipfile| |--| It should say /exception /|zipfile.||BadZipFile|
Thank you João. I think there is no typo, in Python 2 it is actually zipfile.BadZipfile(). It also is still exist in Python 3, for compatibility reasons.
In any way, thanks for your interest
--
Marco Buttu
INAF-Osservatorio Astronomico di Cagliari
Via della Scienza n. 5, 09047 Selargius (CA)
Phone: 070 711 80 217
Email: mbuttu@oa-cagliari.inaf.it
2301
Age (days ago)
2301
Last active (days ago)
1 comments
2 participants
participants (2)
-
João Guerreiro
-
Marco Buttu