mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Some cleanup in the docs.
This commit is contained in:
parent
28c7bcf38e
commit
b19be571e0
126 changed files with 804 additions and 1181 deletions
|
|
@ -178,11 +178,9 @@ Reading and Writing Files
|
|||
:func:`open` returns a file object, and is most commonly used with two
|
||||
arguments: ``open(filename, mode)``.
|
||||
|
||||
.. % Opening files
|
||||
|
||||
::
|
||||
|
||||
>>> f=open('/tmp/workfile', 'w')
|
||||
>>> f = open('/tmp/workfile', 'w')
|
||||
>>> print f
|
||||
<open file '/tmp/workfile', mode 'w' at 80a0960>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue