Some cleanup in the docs.

This commit is contained in:
Georg Brandl 2007-12-29 10:57:00 +00:00
parent 28c7bcf38e
commit b19be571e0
126 changed files with 804 additions and 1181 deletions

View file

@ -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>