summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref6.tex
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1489771: update syntax rules in Python Reference Manual.Žiga Seilnacht2007-03-241-16/+26
| | | | | | | | | Python 2.5 added support for explicit relative import statements and yield expressions, which were missing in the manual. Also fix grammar productions that used the names from the Grammar file, markup that broke the generated grammar.txt, and wrap some lines that broke the pdf output. (backport from rev. 54559)
* - markup fixGeorge Yoshida2006-05-201-3/+4
| | | | - add clarifying words
* one more place to avoid extra markupFred Drake2006-05-031-1/+1
|
* avoid ugly markup based on the unfortunate conversions of ">>" and "<<" toFred Drake2006-05-031-1/+1
| | | | guillemets; no need for magic here
* Yield is now allowed in try-finally, so update docs accordinglyPhillip J. Eby2006-03-251-5/+11
|
* SF patch #1421726Fredrik Lundh2006-02-021-1/+1
| | | | fixed typo in language reference
* 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
|
* 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
* 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.
* SF Patch #1093896: miscellaneous doc typosRaymond Hettinger2005-01-011-1/+1
|
* 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-111-1/+2
|
* SF patch #1007189, multi-line imports, for instance:Anthony Baxter2004-08-311-2/+5
| | | | | "from blah import (foo, bar baz, bongo)"
* Document general mappings for the locals argument for exec and execfile().Raymond Hettinger2004-08-031-2/+3
|
* clean up indexing for None, NotImplementedFred Drake2004-01-011-1/+1
| | | | closes SF bug #820344
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-1/+1
| | | | (From SF patch #810751)
* Indexing is a mess; try to get the link targets closer to the relevantFred Drake2003-07-151-11/+9
| | | | text. There needs to be a better way.
* Try to clean up some indexing relevant to the import statement.Fred Drake2003-07-151-3/+3
| | | | Pertains to SF bug #518989.
* SF patch #751038 fixing SF bug#750092: exec doesn't need newlineRaymond Hettinger2003-06-181-6/+0
| | | | Patch contributed by Steven Taschuk.
* SF bug #719367, string exceptions are deprecatedNeal Norwitz2003-05-291-6/+2
| | | | Remove references to string based exceptions in the doc.
* Move future statement here from appendix a.Jeremy Hylton2003-05-211-0/+78
|
* Fix symbol in grammar; this should fix some hyperlinking in the HTMLFred Drake2003-03-311-1/+1
| | | | version.
* Fix typo reported to python-docs.Fred Drake2003-01-251-1/+1
|
* SF patch #634866: Alex Martelli's corrections to the ref manual.Raymond Hettinger2003-01-191-2/+8
| | | | | Backport candidate. All but one or two of these changes are applicable to 2.2.2.
* Patch #662454: import a.b as c is ok, fixes #660811.Martin v. Löwis2003-01-161-5/+1
|
* SF bug #661848 and #631055: Clarify use of __all__.Raymond Hettinger2003-01-061-1/+4
|
* Revise the __all__ index entry a touch.Fred Drake2002-12-071-1/+1
|
* Add __all__ to Reference Manual index.Raymond Hettinger2002-12-071-0/+1
| | | | Closes SF 643227.
* Added cross-references to related material on exceptions.Fred Drake2002-10-181-0/+3
| | | | Closes SF bug #217195.
* Close bug 417930 by clarifying augmented assignment docsRaymond Hettinger2002-06-251-0/+14
|
* Try to improve the explanation of the "raise" statement and how its argumentsFred Drake2002-06-201-28/+35
| | | | | are interpreted. This closes SF bug #532467.
* Typo.Michael W. Hudson2002-06-171-1/+1
|
* Reword explanation of global statement since an undeclared global is aJeremy Hylton2002-04-011-3/+3
| | | | free variable and is subject to those rules.
* Note the sole case in which the ban on "from ... import *" within aJeremy Hylton2002-04-011-1/+5
| | | | function is enforced.
* Remove the following restriction:Jeremy Hylton2002-04-011-4/+0
| | | | | | | Names bound by import statements may not occur in global statements in the same scope. Why not?
* Note that it is illegal to delete a cell variable.Jeremy Hylton2002-04-011-2/+6
| | | | Note that deleteing an unbound local will raise a NameError.
* Revise the markup related to the grammar productions to increase theFred Drake2002-03-151-40/+32
| | | | | | level of predictability. This is not really "good" markup, but is arguably better than we had before. This closes SF bug #523117.
* Update to use the notice environment so a multi-paragraph note can beFred Drake2001-12-141-2/+4
| | | | appropriately marked.
* Add a note about yield requiring a __future__ directive.Fred Drake2001-12-121-0/+10
|
* Clean up a sad sentence in the yield description.Fred Drake2001-12-111-5/+5
|
* Document generators and the yield statement, avoiding implementation details.Fred Drake2001-12-111-0/+52
|
* Add a note to the description of the interaction between the softspaceFred Drake2001-12-051-9/+12
| | | | | | | attribute of file objects, the print statement, and other file operations. This closes SF bug #484857. Fix minor markup nits.
* When describing "import *", add a level of indirection between "*" and theFred Drake2001-10-241-3/+17
| | | | | | | | set of names imported (the "public names"), adding a definition of "public names" that describes the use of __all__. This closes SF bug #473986. Flesh out the vague reference to __import__().
* Change the grammar productions to use the new productionlist environment;Fred Drake2001-07-061-76/+106
| | | | | this supports a hyperlinked version of the grammar that can make tracking down details and definitions a little easier.
* Remove some bogus trailing whitespace.Fred Drake2001-06-231-2/+2
|
* Fix minor markup nits.Fred Drake2001-06-231-1/+1
|
* Fix a very minor (but annoying when looking for things!) markup nit.Fred Drake2001-06-231-0/+12
|
* Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.Fred Drake2001-04-131-1/+1
|