summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref6.tex
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Note that assignments to __debug__ are illegalJeremy Hylton2001-03-231-0/+2
|
* Do not refer to "sub-modules" since that is not a defined term.Fred Drake2001-03-061-7/+8
|
* Remove note about the compiler not checking for two kinds of illegalJeremy Hylton2001-01-301-5/+0
| | | | imports. It checks for them now.
* Lots of minor fixes, many suggested by Detlef LannertFred Drake2000-09-211-7/+8
| | | | <lannert@uni-duesseldorf.de>.
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-09-121-0/+39
| | | | | | Reference manual docs for augmented assignment. This closes SourceForge patch #101418.
* Document "print >> None"Barry Warsaw2000-08-291-3/+4
|
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-211-0/+12
| | | | | Document the extended print form. Fred, please double check the markup!
* Disallow "import mod.submod as m", because the result is ambiguous. Does itThomas Wouters2000-08-191-1/+6
| | | | | | | | | | load mod.submod as m, or mod as m ? Both can be achieved differently, and unambiguously. Also attempt to document this restriction (editor appreciated!) Note that this is an artificial check during compile, because incorporating this in the grammar is hard, and then adjusting the compiler to do the right thing with the right nodes is harder.
* Apply SF patch #101135, adding 'import module as m' and 'from module importThomas Wouters2000-08-171-8/+12
| | | | | | | | name as n'. By doing some twists and turns, "as" is not a reserved word. There is a slight change in semantics for 'from module import name' (it will now honour the 'global' keyword) but only in cases that are explicitly undocumented.
* 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.
* Typo: "This table table" -> "This table is"Fred Drake2000-07-061-1/+1
| | | | Noted by Nicholas Spies <ns11@voicenet.com>.
* Added a note to the section on 'exec' about the need for a trailing newlineGreg Ward2000-04-271-1/+10
| | | | in certain circumstances. (Apparently, this is a CPython problem.)
* Typo: "Otherwose" --> "Otherwise" (reported by Joakim SernbrantFred Drake1999-04-141-29/+29
| | | | | | <joakim.sernbrant@front.se>). Misc. small fixes to the logical markup.
* Suggestion by Tim Peters clarifying what "before global" means.Guido van Rossum1998-12-211-1/+2
| | | | | (Also added an XXX comment requesting clarification of module initialization -- TBD later.)