Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
bool(x) -> bool

Returns True when the argument x is true, False otherwise.
The builtins True and False are the only two instances of the class bool.
The class bool is a subclass of the class int, and cannot be subclassed.

src/p/y/python-archive-0.2/archive/__init__.py   python-archive(Download)
import zipfile
from archive.compat import IS_PY2, is_string

src/p/y/python-archive-0.2/archive/test/test_archive.py   python-archive(Download)
from os.path import isfile, join as pathjoin
from archive.compat import IS_PY2
from archive import Archive, extract, UnsafeArchive, UnrecognizedArchiveFormat
if IS_PY2:
    _UNICODE_NAME = unicode('圧縮.zip', 'utf-8')