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

Marco Buttu marco.buttu at gmail.com
Thu Feb 9 09:03:17 EST 2017


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 at oa-cagliari.inaf.it



More information about the docs mailing list