Commit graph

7753 commits

Author SHA1 Message Date
Georg Brandl
96593ed348 Continue going through the language reference, bringing it up-to-date.
In particular, document the new comprehensions and remove mentions of long integers.
Fix a bunch of related things in the lib ref.
2007-09-07 14:15:41 +00:00
Georg Brandl
22291c5008 #1116: reference to old filename fixed. 2007-09-06 14:49:02 +00:00
Guido van Rossum
dff1c31fb4 In response to issue 1101, place vastly more emphasis on the new print()
function.
2007-09-06 14:46:41 +00:00
Georg Brandl
67ced426bc hashlib operates on bytes, not strings. 2007-09-06 14:09:10 +00:00
Georg Brandl
0068e2ccb1 New exception catching syntax. 2007-09-06 14:03:41 +00:00
Georg Brandl
65ea9bd87e Bug #1684991: explain __special__ lookup semantics. 2007-09-05 13:36:27 +00:00
Mark Summerfield
08898b4b19 Proof read/editing of abc. Added table of collections.Hashable etc. to
collections with some brief notes.
2007-09-05 08:43:04 +00:00
Georg Brandl
c53c9666f5 Add a dict view usage example. 2007-09-04 17:58:02 +00:00
Georg Brandl
952aea2ce6 Change docs for builtins that now return iterators. 2007-09-04 17:50:40 +00:00
Georg Brandl
d22a8152bc Docs on dictviews. 2007-09-04 17:43:37 +00:00
Fred Drake
2e74878ef2 remove/update many of the references to dict.iter*() 2007-09-04 17:33:11 +00:00
Guido van Rossum
afe0cd194f Correction an issue reported by Mark Summerfeld. 2007-09-04 16:23:16 +00:00
Georg Brandl
2d14098125 More abc docs. 2007-09-04 15:45:25 +00:00
Thomas Wouters
53de1902e7 Update ref docs on slicing. 2007-09-04 09:03:59 +00:00
Georg Brandl
aeaa546d7e Initial documentation for the abc module. 2007-09-04 08:11:03 +00:00
Georg Brandl
7a8e58249c Fix the string formatting docs for now; if the feature is changed again, the docs can be changed too. 2007-09-04 07:27:54 +00:00
Georg Brandl
a1e9ef7a62 Fix up the types module docs. 2007-09-04 07:23:09 +00:00
Georg Brandl
6911e3ce3f Convert all print statements in the docs. 2007-09-04 07:15:32 +00:00
Georg Brandl
c9879246a2 Add "print" command to pdb, "print s" previously invoked the print statement. 2007-09-04 07:07:56 +00:00
Georg Brandl
cb8ecb142b Doc update for __xslice__ removal. 2007-09-04 06:35:14 +00:00
Skip Montanaro
4edae68f2f CVS -> Subversion 2007-09-04 02:52:00 +00:00
Skip Montanaro
a86f5d4029 I always think of the language when I see "ABC". Emphasize the meaning of
the acronym.
2007-09-04 02:48:01 +00:00
Guido van Rossum
5eb520cf1e Fix sinple typo. 2007-09-04 02:40:38 +00:00
Georg Brandl
e4ac7504c9 Tutorial formatting patch by Robin Stocker. 2007-09-03 07:10:24 +00:00
Eric Smith
9d4ba3970f Removed used_args param from string.Formatter.get_field. It was left in by mistake from an earlier edit. 2007-09-02 15:33:26 +00:00
Collin Winter
c79461b164 Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls. 2007-09-01 23:34:30 +00:00
Andrew M. Kuchling
bbb809ee6f I'm not actually an author 2007-09-01 19:26:28 +00:00
Georg Brandl
b355304ea4 Document PyCFunctionWithKeywords, add comment for PEP 3123. 2007-09-01 16:19:25 +00:00
Georg Brandl
a6f52786b7 Document sets' "<" and ">" operations. 2007-09-01 15:49:30 +00:00
Georg Brandl
f2fc934a77 Get rid of METH_OLDARGS. 2007-09-01 13:59:50 +00:00
Georg Brandl
55ac8f0f26 Get rid of the remaining versionadded/versionchanged directives. 2007-09-01 13:51:09 +00:00
Georg Brandl
1617457cff Remove versionadded/versionchanged in the reference. 2007-09-01 12:38:06 +00:00
Georg Brandl
321976b6e7 Remove versionadded and versionchanged directives, fold information into text where necessary. 2007-09-01 12:33:24 +00:00
Georg Brandl
2326a79de1 Add a warning text about mixing bytes and strings. 2007-09-01 12:08:51 +00:00
Georg Brandl
a95207ab3b Fix RST link. 2007-09-01 07:34:27 +00:00
Georg Brandl
81ac1ce56a Address a few XXX comments, other fixes. 2007-08-31 17:17:17 +00:00
Georg Brandl
dcc56f8bf6 Add bytes/remove unicode from the data model. 2007-08-31 16:41:12 +00:00
Georg Brandl
85eb8c103c - document bytes()
- throw out many mentions of "old-style/new-style"
- add memoryview() though I somebody has to fill in the details
- throw out str.decode()
- throw out classobj and instanceobj
2007-08-31 16:33:38 +00:00
Guido van Rossum
b3922cb086 Neal sent real performance numbers. :-( 2007-08-31 14:03:28 +00:00
Georg Brandl
7f13e6b3e2 string.maketrans() now produces translation tables for bytes.translate() -- wrong module?
Fix all remaining instances that did bad things with the new str.translate().
2007-08-31 10:37:15 +00:00
Georg Brandl
226878cba5 Add bytes methods documentation. 2007-08-31 10:15:37 +00:00
Georg Brandl
4b49131f2b Commit #1068: new docs for PEP 3101. Also document the old string formatting as "old", and begin documenting str/unicode unification. 2007-08-31 09:22:56 +00:00
Georg Brandl
57e3b68c22 Update the first two parts of the reference manual for Py3k,
mainly concerning PEPs 3131 and 3120.
2007-08-31 08:07:45 +00:00
Georg Brandl
c3f5bad778 Fix unicode issue in tutorial. 2007-08-31 06:46:05 +00:00
Georg Brandl
fd5359c772 Fix sphinx-build so that it runs with 2.x and 3.x but refuses to start with 3.x. 2007-08-31 06:20:46 +00:00
Georg Brandl
5a165584d7 Correct a few typos. 2007-08-31 06:15:01 +00:00
Neal Norwitz
639a8ffcb7 Thomas removed all the SLICE op codes 2007-08-31 04:10:28 +00:00
Neal Norwitz
e0906d13c3 A few more fixes to the tutorial 2007-08-31 03:46:28 +00:00
Guido van Rossum
0616b792ba Tutorial update for 3.0 by Paul Dubois.
I had to fix a few markup issues in controlflow.rst and modules.rst.

There's a unicode issue on line 448 in introduction.rst that someone else needs to fix.
2007-08-31 03:25:11 +00:00
Guido van Rossum
b197f3cf64 First draft of a what's new document.
(There's something wrong with my network right now so I can't build it.)
2007-08-31 00:37:00 +00:00