Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(1) | Derive(0) | Import(1)
def isfileobj(f): return isinstance(f, file)
import numpy as np from .py3k import isfileobj, ZEROB from .casting import (shared_range, type_info, as_int, best_float, OK_FLOATS, able_int_type)
# for some types, we can write to the string buffer without # worrying, but others we can't. if isfileobj(infile) or isinstance(infile, (gzip.GzipFile, bz2.BZ2File)): arr.flags.writeable = True