summaryrefslogtreecommitdiffstats
path: root/Doc/ref
Commit message (Collapse)AuthorAgeFilesLines
* bug #1462278: small fix in documentation of __op__ vs __rop__ methodsGeorg Brandl2006-04-011-8/+9
|
* typosGeorg Brandl2006-03-311-2/+2
|
* Add index entries for new-style/old-style class.Georg Brandl2006-03-311-1/+5
|
* Add version added info for with statement and context managersNeal Norwitz2006-03-282-0/+4
|
* The "with" statement needs a __future__. :)Phillip J. Eby2006-03-271-0/+11
|
* Document the "with" statement.Phillip J. Eby2006-03-271-1/+56
|
* Document the PEP 343 context manager protocol methods.Phillip J. Eby2006-03-271-0/+58
|
* Yield is now allowed in try-finally, so update docs accordinglyPhillip J. Eby2006-03-251-5/+11
|
* Checking in the code for PEP 357.Guido van Rossum2006-03-071-0/+7
| | | | | | This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation).
* PEP 343 -- the with-statement.Guido van Rossum2006-02-271-0/+6
| | | | | | | | | | | | | This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global).
* Note version added for conditional expressionsNeal Norwitz2006-02-271-1/+1
|
* PEP 308 implementation, including minor refdocs and some testcases. ItThomas Wouters2006-02-271-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | breaks the parser module, because it adds the if/else construct as well as two new grammar rules for backward compatibility. If no one else fixes parsermodule, I guess I'll go ahead and fix it later this week. The TeX code was checked with texcheck.py, but not rendered. There is actually a slight incompatibility: >>> (x for x in lambda:0) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: iteration over non-sequence changes into >>> (x for x in lambda: 0) File "<stdin>", line 1 (x for x in lambda: 0) ^ SyntaxError: invalid syntax Since there's no way the former version can be useful, it's probably a bugfix ;)
* SF patch #1421726Fredrik Lundh2006-02-021-1/+1
| | | | fixed typo in language reference
* Add markup to a "Python Standard Library" doc reference I added for bug 839585.Georg Brandl2006-01-201-2/+3
|
* Remove dots in \version{changed,added} argument andGeorg Brandl2006-01-151-1/+1
| | | | correct argument order.
* Bug #839585: mention % string operator in language refGeorg Brandl2005-12-261-0/+6
|
* Updating the short blob about old/new-style classes to reflect (IMHO) moreArmin Rigo2005-12-261-7/+35
| | | | | | | | precisely the motivation and the differences. Added links to www.python.org/doc/newstyle.html and a footnote to warn against the statement "x[i] is equivalent to x.__getitem__(i)", which already caused many invalid bug reports on SF.
* Doc for PEP 341, needs improvementNeal Norwitz2005-12-171-19/+21
|
* Add placeholder section on old and new-style classesAndrew M. Kuchling2005-12-041-0/+13
|
* Bug #1359053: Doc: \Uxxxxxxxx escapes _are_ interpreted in raw unicode stringsGeorg Brandl2005-11-221-2/+3
|
* Remove .cvsignore files, as they live in svn:ignoreMartin v. Löwis2005-10-301-3/+0
| | | | properties now.
* add missing "and"Fred Drake2005-10-301-2/+3
|
* Make close brace a paren to match open.Neal Norwitz2005-10-041-1/+1
|
* Armin caught this mistake in bug #973103.Neal Norwitz2005-10-041-1/+1
|
* Correct docs for empty raise when no exception is active.Raymond Hettinger2005-10-031-2/+3
|
* Better wording for integer ref entry.Georg Brandl2005-09-121-2/+2
|
* note that the return and yield statements cannot be used at the top level inFred Drake2005-09-071-1/+6
| | | | | exec statements; people coming from certain other languages seem to be confused by this on a regular basis
* - fix typo report by email, only 1.5 years lateFred Drake2005-09-071-7/+7
| | | | - fix several consistency nits relating to \method{...()}
* Clarify what is meant with "whole numbers".Georg Brandl2005-09-041-1/+2
|
* __new__ is a static methodGeorg Brandl2005-08-261-1/+1
|
* bug [ 1261229 ] __new__ is class methodGeorg Brandl2005-08-251-1/+1
|
* Empty sets and frozensets are also false.Georg Brandl2005-08-211-3/+3
|
* SF bug #1249837: container methods raise KeyError not IndexErrorRaymond Hettinger2005-08-211-0/+2
| | | | Minor clarification.
* Mention explicitly the False is considered false.Georg Brandl2005-08-211-3/+3
|
* add information about alternate implementations, noting that documentationFred Drake2005-07-201-1/+51
| | | | | for the implementation should be consulted (thanks to Evelyn Mitchell for suggesting this)
* Patch [ 1230615 ] Patch for (Doc) #1168746Georg Brandl2005-07-021-11/+14
| | | | Bug [ 1204734 ] incorrect description of __getattribute__
* Fix grammar (it's -> its).Neil Schemenauer2005-06-181-1/+1
|
* [Bug #1193001] Make the notation section use the same productionlist env. as ↵Andrew M. Kuchling2005-06-021-5/+5
| | | | other grammar rules
* Fix:Michael W. Hudson2005-05-261-0/+2
| | | | | | | [ 1207501 ] Issue in grammar We didn't define dotted_name in the pseudo-grammar in the reference docs. Backport candidate.
* update documentation on what constitutes a line in a source fileFred Drake2005-05-251-5/+12
| | | | (closes SF bug #1167922)
* SF bug #1190451: 6.9 First sentence is confusingRaymond Hettinger2005-04-281-7/+8
| | | | | | | * Fixed incorrect wording: expression->exception * Noted the specific exception reported by "raise" when the is nothing to re-raise. * Eliminated several instances of "e.g." as recommended in the style guide.
* Fix typo.Raymond Hettinger2005-04-261-1/+1
|
* Add grammar change for allowing ``class B(): pass`` syntax.Brett Cannon2005-04-091-1/+1
|
* SF #1156412: document the __new__() static methodGreg Ward2005-03-081-0/+29
| | | | (merge from release24-maint branch).
* Updates to the exceptions documentation (this is my patch #1156102).Michael W. Hudson2005-03-042-23/+27
|
* fix a bunch of spelling errorsFred Drake2005-01-191-1/+1
| | | | (closes SF patch #1104868)
* SF Patch #1093896: miscellaneous doc typosRaymond Hettinger2005-01-013-3/+3
|
* Patch #1080684: typo repair. Thanks George Yoshida!Johannes Gijsbers2004-12-121-5/+6
| | | | | | | | | | | | | | | | - Doc/lib/libbase64.tex s/algorith/algorithm - Doc/lib/libpickle.tex s/interchangable/interchangeable - Doc/lib/libxmlrpclib.tex s/{_cmp__}/{__cmp__} leading underscore needs to be double, not single. - Doc/ref/ref6.tex 0/1 => False/True
* Fix SF bug #1061770: Manual typesets bit-shift operators as guillemetFred Drake2004-11-112-2/+4
|
* minor markup nits; fix missing whitespaceFred Drake2004-11-101-2/+2
|