Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 956597f4ef4ef4c65b0a5a7e488757d865832a0e authored by Andrew M. Kuchling on 29 July 2006, 18:14:07 UTC, committed by Andrew M. Kuchling on 29 July 2006, 18:14:07 UTC
We want to encourage users to write open() when opening a file, but open() was described with a single paragraph and 'file' had lots of explanation of the mode and bufsize arguments. I've shrunk the description of 'file' to cross-reference to the 'File objects' section, and to open() for an explanation of the arguments. open() now has all the paragraphs about the mode string. The bufsize argument was moved up so that it isn't buried at the end; now there's 1 paragraph on mode, 1 on bufsize, and then 3 more on mode. Various other edits and rearrangements were made in the process. It's probably best to read the final text and not to try to make sense of the diffs.
1 parent fbdeaad
Tip revision: 956597f4ef4ef4c65b0a5a7e488757d865832a0e authored by Andrew M. Kuchling on 29 July 2006, 18:14:07 UTC
Reorganize the docs for 'file' and 'open()' after some discussion with Fred.
Reorganize the docs for 'file' and 'open()' after some discussion with Fred.
Tip revision: 956597f
File | Mode | Size |
---|---|---|
stringlib | ||
abstract.c | -rw-r--r-- | 50.5 KB |
boolobject.c | -rw-r--r-- | 4.7 KB |
bufferobject.c | -rw-r--r-- | 15.5 KB |
cellobject.c | -rw-r--r-- | 2.7 KB |
classobject.c | -rw-r--r-- | 59.8 KB |
cobject.c | -rw-r--r-- | 3.9 KB |
codeobject.c | -rw-r--r-- | 16.6 KB |
complexobject.c | -rw-r--r-- | 22.8 KB |
descrobject.c | -rw-r--r-- | 31.1 KB |
dictnotes.txt | -rw-r--r-- | 10.9 KB |
dictobject.c | -rw-r--r-- | 61.2 KB |
enumobject.c | -rw-r--r-- | 8.3 KB |
exceptions.c | -rw-r--r-- | 58.2 KB |
fileobject.c | -rw-r--r-- | 62.1 KB |
floatobject.c | -rw-r--r-- | 40.4 KB |
frameobject.c | -rw-r--r-- | 23.6 KB |
funcobject.c | -rw-r--r-- | 20.9 KB |
genobject.c | -rw-r--r-- | 9.4 KB |
intobject.c | -rw-r--r-- | 28.9 KB |
iterobject.c | -rw-r--r-- | 5.2 KB |
listobject.c | -rw-r--r-- | 69.5 KB |
listsort.txt | -rw-r--r-- | 31.0 KB |
longobject.c | -rw-r--r-- | 83.9 KB |
methodobject.c | -rw-r--r-- | 8.0 KB |
moduleobject.c | -rw-r--r-- | 6.2 KB |
object.c | -rw-r--r-- | 50.3 KB |
obmalloc.c | -rw-r--r-- | 56.7 KB |
rangeobject.c | -rw-r--r-- | 7.9 KB |
setobject.c | -rw-r--r-- | 51.1 KB |
sliceobject.c | -rw-r--r-- | 8.0 KB |
stringobject.c | -rw-r--r-- | 120.1 KB |
structseq.c | -rw-r--r-- | 9.7 KB |
tupleobject.c | -rw-r--r-- | 19.9 KB |
typeobject.c | -rw-r--r-- | 150.5 KB |
unicodectype.c | -rw-r--r-- | 15.8 KB |
unicodeobject.c | -rw-r--r-- | 208.0 KB |
unicodetype_db.h | -rw-r--r-- | 88.5 KB |
weakrefobject.c | -rw-r--r-- | 28.4 KB |
Computing file changes ...