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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
close(fd)

Close a file descriptor (for low level IO).

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/path/local/testing/test_local.py   plexnet(Download)
        try:
            fd, name = tempfile.mkstemp()
            py.std.os.close(fd)
        except AttributeError:
            name = tempfile.mktemp()

src/p/y/py-1.4.20/testing/path/test_local.py   py(Download)
        try:
            fd, name = tempfile.mkstemp()
            py.std.os.close(fd)
        except AttributeError:
            name = tempfile.mktemp()