summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref6.tex
Commit message (Collapse)AuthorAgeFilesLines
* 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.)
* Minor adjustments to a few index entries.Fred Drake1998-11-251-3/+3
|
* Fix encoding of \n in a couple of places (reported by LorenzoFred Drake1998-10-011-11/+11
| | | | M. Catucci <lorenzo@argon.roma2.infn.it>).
* Describe what happens when ``raise C, x'' is called where C is a classGuido van Rossum1998-08-251-7/+13
| | | | and x is not an instance of C (nor of a class derived of C).
* At least mark the URL to the Packages essay using \url.Fred Drake1998-08-071-1/+1
|
* Make sure all chapters, sections, and subsections have a \label to give themFred Drake1998-07-281-14/+14
| | | | semantic file names in the HTML. No more node#.html files!
* Fix markup of an \indexiii --> only two parameters were given.Fred Drake1998-07-241-1/+1
|
* Changes copied from the FrameMaker version. Also documented someGuido van Rossum1998-07-241-83/+141
| | | | | | | previously undocumented features. Packages and the import mechanism in general are still left undocumented.
* Added back the description of the exec statement. It appears that IGuido van Rossum1998-07-061-0/+38
| | | | | | accidentally cut it out when removing the access statement! Added a paragraph on __builtins__ and other possible manipulations of the key space of the dictionaries. Added some index entries.
* Fix a bogus \code@...@ to be \code{...}.Fred Drake1998-05-061-24/+23
| | | | Normalize some other markup.
* The Python Reference Manual.Fred Drake1998-05-061-0/+512
|
* Removed LaTeX version of reference manual. Added ref/ref.ps.Guido van Rossum1996-10-221-512/+0
|
* Erase all memory of the access statementGuido van Rossum1996-08-201-37/+0
|
* explain global betterGuido van Rossum1996-06-261-2/+15
|
* make access obsoleteGuido van Rossum1995-10-081-4/+2
|
* replace vars() with locals() and globals(); 3rd raise arg; typosGuido van Rossum1995-07-071-14/+22
|
* added ref to vars()Guido van Rossum1995-03-071-3/+4
|
* added classes as exceptionsGuido van Rossum1995-02-071-4/+11
|
* copyright.tex: Add 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | | | | | | | | | | | 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.
* * Doc/libtime.tex: get rid of references to millitime() andGuido van Rossum1994-08-231-1/+15
| | | | | | | millisleep(); document clock() * Doc/ref6.tex (section{Assignment statements}): added warning about overlaps in lhs of assignment (e.g. "i, x[i] = 1, 2")
* Merge lost revisions backGuido van Rossum1994-08-011-68/+69
|