OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:with_statement
(Results
26 - 50
of
50
) sorted by null
1
2
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
main.py
5
from __future__ import
with_statement
refactor.py
11
from __future__ import
with_statement
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
main.py
5
from __future__ import
with_statement
refactor.py
11
from __future__ import
with_statement
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
test_refactor.py
5
from __future__ import
with_statement
test_pytree.py
12
from __future__ import
with_statement
/external/v8/tools/
gc-nvp-trace-processor.py
40
from __future__ import
with_statement
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_refactor.py
5
from __future__ import
with_statement
test_pytree.py
12
from __future__ import
with_statement
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_refactor.py
5
from __future__ import
with_statement
test_pytree.py
12
from __future__ import
with_statement
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
refactor.py
11
from __future__ import
with_statement
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/gdb/
libpython.py
42
from __future__ import
with_statement
[
all
...]
/external/sonivox/jet_tools/JetCreator/
JetAudition.py
23
from __future__ import
with_statement
JetFile.py
23
from __future__ import
with_statement
[
all
...]
JetUtils.py
23
from __future__ import
with_statement
eas.py
2
from __future__ import
with_statement
[
all
...]
JetCreator.py
23
from __future__ import
with_statement
[
all
...]
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/
refactor.py
11
from __future__ import
with_statement
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/
refactor.py
11
from __future__ import
with_statement
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/pydoc_data/
topics.py
13
'bltin-file-objects': u'\nFile Objects\n************\n\nFile objects are implemented using C\'s ``stdio`` package and can be\ncreated with the built-in ``open()`` function. File objects are also\nreturned by some other built-in functions and methods, such as\n``os.popen()`` and ``os.fdopen()`` and the ``makefile()`` method of\nsocket objects. Temporary files can be created using the ``tempfile``\nmodule, and high-level file operations such as copying, moving, and\ndeleting files and directories can be achieved with the ``shutil``\nmodule.\n\nWhen a file operation fails for an I/O-related reason, the exception\n``IOError`` is raised. This includes situations where the operation\nis not defined for some reason, like ``seek()`` on a tty device or\nwriting a file opened for reading.\n\nFiles have the following methods:\n\nfile.close()\n\n Close the file. A closed file cannot be read or written any more.\n Any operation which requires that the file be open will raise a\n ``ValueError`` after the file has been closed. Calling ``close()``\n more than once is allowed.\n\n As of Python 2.5, you can avoid having to call this method\n explicitly if you use the ``with`` statement. For example, the\n following code will automatically close *f* when the ``with`` block\n is exited:\n\n from __future__ import
with_statement
# This isn\'t required in Python 2.6\n\n with open("hello.txt") as f:\n for line in (…)
[
all
...]
/prebuilts/gdb/darwin-x86/lib/python2.7/pydoc_data/
topics.py
[
all
...]
/prebuilts/gdb/linux-x86/lib/python2.7/pydoc_data/
topics.py
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py
[
all
...]
Completed in 2763 milliseconds
1
2