summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref7.tex
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Doc for PEP 341, needs improvementNeal Norwitz2005-12-171-19/+21
|
* 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.
* Add grammar change for allowing ``class B(): pass`` syntax.Brett Cannon2005-04-091-1/+1
|
* Updates to the exceptions documentation (this is my patch #1156102).Michael W. Hudson2005-03-041-13/+13
|
* clarify discussion of iteration in the section on the "for" statementFred Drake2004-11-021-2/+4
| | | | (SF bug #829073)
* clarify trailing comma in function argument listFred Drake2004-11-021-4/+4
| | | | (SF bug #798652)
* This is Mark Russell's patch:Michael W. Hudson2004-08-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 1009560 ] Fix @decorator evaluation order From the description: Changes in this patch: - Change Grammar/Grammar to require newlines between adjacent decorators. - Fix order of evaluation of decorators in the C (compile.c) and python (Lib/compiler/pycodegen.py) compilers - Add better order of evaluation check to test_decorators.py (test_eval_order) - Update the decorator documentation in the reference manual (improve description of evaluation order and update syntax description) and the comment: Used Brett's evaluation order (see http://mail.python.org/pipermail/python-dev/2004-August/047835.html) (I'm checking this in for Anthony who was having problems getting SF to talk to him)
* PEP-0318, @decorator-style. In Guido's words:Anthony Baxter2004-08-021-1/+26
| | | | | "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
* The expression list in inheritance is not optional. Fixes #960448.Martin v. Löwis2004-06-021-1/+1
| | | | Will backport to 2.3.
* - update to reflect that base classes can be class types as well asFred Drake2003-09-241-2/+5
| | | | | | | | "classic" class objects [partially fixes SF bug #453684] - add note that new-style classes can use descriptors to implement instance variables in different ways
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-121-1/+1
|
* Added cross-references to related material on exceptions.Fred Drake2002-10-181-9/+13
| | | | | | | Closes SF bug #217195. Make sure section numbers wrap together with the preceeding word ("section").
* Change reference to execframes to naming.Jeremy Hylton2002-04-011-1/+1
|
* Update programmer's note on nested functions.Jeremy Hylton2002-04-011-5/+5
|
* Revise the markup related to the grammar productions to increase theFred Drake2002-03-151-17/+21
| | | | | | level of predictability. This is not really "good" markup, but is arguably better than we had before. This closes SF bug #523117.
* Typo: thsi -> this. Closes SF bug #521450.Fred Drake2002-02-221-1/+1
|
* Added some missing index entries, noted by L. Peter Deutsch.Fred Drake2001-12-271-0/+2
| | | | This should be included in Python 2.2.1.
* Use the \note and \warning macros where appropriate.Fred Drake2001-10-201-2/+2
|
* Change the grammar productions to use the new productionlist environment;Fred Drake2001-07-061-43/+68
| | | | | this supports a hyperlinked version of the grammar that can make tracking down details and definitions a little easier.
* Fix minor markup nits.Fred Drake2001-06-231-5/+1
|
* Fix a very minor (but annoying when looking for things!) markup nit.Fred Drake2001-06-231-0/+6
|
* Fix typo reported by David Goodger. This closes SF patch #422383.Fred Drake2001-05-101-1/+1
|
* Add nested scopes spec to appendix.Jeremy Hylton2001-03-231-17/+3
| | | | | | | | | | | Add new opcodes LOAD_CLOSURE, LOAD_DEREF, STORE_DEREF, MAKE_CLOSURE to docs for dis module. Add docs for new function and code members in Sec. 3 of ref manual. They're present regardless of whether nested scopes are used. Remove description of default argument hack from Sec. 7 of the ref manual and refer the reader to the appendix.
* Allow 'continue' inside 'try' clauseJeremy Hylton2001-02-011-9/+11
| | | | SF patch 102989 by Thomas Wouters
* Improve description of else clause of the try/except/else statement.Fred Drake2001-01-021-6/+11
| | | | This closes (again!) bug #127098.
* Change documentation of 'else' clause of 'try/except' to make clear that itThomas Wouters2000-12-311-3/+5
| | | | | | | | doesn't get triggered by 'return', 'break' or 'continue'. If the 'try-inside-continue' patch does not get accepted before next release, the 'or continue' should be removed ;P Closes SF patch #103045 and SF bug #127098.
* More of Rob W. W. Hooft's spelling fixes. The only ones left now are theThomas Wouters2000-07-161-1/+1
| | | | | | | | | | | distutils patches, which I'll leave to the distutils maintainers. Tip: review the patch like this: grep "^[\!+-] " <patchfile> To get a quick and easy way to review the actual changes. Most of the changes are single-line ones, anyway.
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-031-3/+1
|
* Added sentence "All exceptions must have an executable block."; fromFred Drake1999-08-241-1/+2
| | | | Dan Wolfe <wolfeman@apple.com>.
* Fixed latex2html weirdness with footnotes.Fred Drake1999-04-051-3/+3
|
* Minor markup nits.Fred Drake1999-02-121-14/+10
|
* Clarify evaluation of default arguments at def time with more text andGuido van Rossum1998-12-041-2/+20
| | | | an example.
* Minor fixups to some index entries.Fred Drake1998-11-251-3/+4
|
* Make sure all chapters, sections, and subsections have a \label to give themFred Drake1998-07-281-7/+7
| | | | semantic file names in the HTML. No more node#.html files!
* Changes copied from the FrameMaker version. Not too much.Guido van Rossum1998-07-241-108/+112
|
* Updated markup style (got rid of \verb@...@, mostly).Fred Drake1998-05-141-61/+63
|
* The Python Reference Manual.Fred Drake1998-05-061-0/+391
|
* Removed LaTeX version of reference manual. Added ref/ref.ps.Guido van Rossum1996-10-221-391/+0
|
* added '**kw' to parameter list syntaxGuido van Rossum1996-06-261-1/+3
|
* footnote about keyword argsGuido van Rossum1995-10-081-1/+3
|
* added classes as exceptionsGuido van Rossum1995-02-071-4/+5
|
* copyright.tex: Add 1995 to copyright message.Guido van Rossum1995-01-041-1/+1
| | | | | | | | | | | | | | | lib.tex: add libimp; remove bogus warning about lineii. libmath.tex: document hypot(). libmd5.tex: rename md5.md5() to md5.new(). libposix.tex: document chown(). libposixfile.tex: openfile() instead of fileopen(). libsocket.tex: document gethostbyaddr(). libtypes.tex: add footnote explaining why readline() keeps the newline. ref3.tex: correct typos, add back*quotes to index. ref4.tex: don't use \verb inside footnote. ref5.tex: explain repr() and str() and add them + back*quotes to index. ref6.tex: correct typo, don't use \verb in footnote. ref7.tex: don't use \verb in footnote.
* Merge lost revisions backGuido van Rossum1994-08-011-55/+77
|
* * lib2.tex (sys): updated sys.std{in,out,err} docs. AddedGuido van Rossum1993-12-171-0/+4
| | | | | | | | | | | | | | | sys.tracebacklimit. * tut.tex (Exceptions): change text printed by traceback. * lib5.tex (audioop): added minmax. * lib5.tex (audioop.getsample): move wandered paragraph back * lib3.tex, partparse.py: undo mucking with \nopagebreak (didn't work). * partparse.py: ignore \nopagebreak command * ref5.tex: added description of lambda forms. * ref7.tex: added reference to lambda forms to section on function definition. * lib1.tex: removed lambda as built-in function (it is now a special form). Also removed feature of filter, map, reduce to turn a string argument into an anonymous function.
* * ref3.tex: added cross-ref to try statement for exc handler.Guido van Rossum1993-10-111-1/+14
| | | | | * ref7.tex: added description of sys.exc_{type,value,traceback}. * lib5.tex: rect.intersect is different now!
* Initial revisionGuido van Rossum1992-08-141-0/+347