Mercurial > ~astiob > upreckon > hgweb
view zipfile.py @ 68:e00ab6d1f0ba
Corrected the implementation of callable() for Python 3.0 and 3.1
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Mon, 27 Dec 2010 23:14:27 +0200 |
parents | 4ea7133ac25c |
children | bbf9c434fa57 |
line wrap: on
line source
import sys if sys.version_info[0] >= 3: from zipfile31 import * elif sys.version_info[1] >= 7: from zipfile27 import * else: from zipfile26 import *