summaryrefslogtreecommitdiffstats
path: root/Doc/ref
Commit message (Collapse)AuthorAgeFilesLines
* Document "print >> None"Barry Warsaw2000-08-291-3/+4
|
* Rough and incomplete documentation on augmented assignment, which followsThomas Wouters2000-08-242-4/+11
| | | | shortly. Markup also needs checking.
* fix list comprehension discussion to use \keyword macro instead of simplySkip Montanaro2000-08-231-3/+4
| | | | quoting keywords.
* require list comprehensions to start with a for clauseSkip Montanaro2000-08-221-2/+3
|
* 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.
* Adjust the way __getslice__() is marked as deprecated; this will alsoFred Drake2000-08-181-2/+4
| | | | stand out more.
* 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.
* Apply SF patch #101029: call __getitem__ with a proper slice object if thereThomas Wouters2000-08-171-9/+18
| | | | | | | | is no __getslice__ available. Also does the same for C extension types. Includes rudimentary documentation (it could use a cross reference to the section on slice objects, I couldn't figure out how to do that) and a test suite for all Python __hooks__ I could think of, including the new behaviour.
* Fix error made in applying Thomas's patch.Fred Drake2000-08-151-1/+1
|
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-08-151-1/+2
| | | | | Update the grammar to reflect the most recent changes to list comprehensions.
* list comprehensions. seeSkip Montanaro2000-08-121-5/+14
| | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details.
* Change as suggested by Peter Funk <pf@artcom-gmbh.de>:Fred Drake2000-07-311-2/+3
| | | | | Create a hyperlink between the language reference and documentation for the built in functions.
* More of Rob W. W. Hooft's spelling fixes. The only ones left now are theThomas Wouters2000-07-164-8/+8
| | | | | | | | | | | 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.
* Improve the descriptions of expected exceptions for __getitem__(),Fred Drake2000-07-131-4/+14
| | | | | __setitem__(), and __delitem__(). Based on related comments from Barry Warsaw.
* Moshe Zadka <mzadka@geocities.com>:Fred Drake2000-07-111-8/+29
| | | | | | | | | | Update the "in" / "not in" description to accomodate the current use of the __contains__() discipline. This patch also incorporates suggestions from Marc-Andre Lemburg <mal@lemburg.com>, minor markup revisions from Fred Drake, and some rewording of the first affected paragraph (also from Fred). Closes SourceForge patch #100831.
* Typo: "This table table" -> "This table is"Fred Drake2000-07-061-1/+1
| | | | Noted by Nicholas Spies <ns11@voicenet.com>.
* Revise the description of when functions retrieved from class instancesFred Drake2000-06-281-9/+11
| | | | | | | | | are and are not turned into bound methods; some confusion was noted by Andrew Dalke. In particular, it has to be noted that functions located on the class instance are not turned into any sort of method, only those which are found via the underlying class.
* Fix markup error that hid a tilde character; reported long ago byFred Drake2000-06-151-1/+12
| | | | Carl Feynman <carlf@abinitio.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.)
* Removed some extraneous and confusing parenthesized expressions.Fred Drake2000-04-251-3/+3
| | | | Noted by Skip Montanaro <skip@mojam.com>.
* But don't do the funny \UNICODE macro; we're trying to get away fromFred Drake2000-04-061-1/+1
| | | | those markups! <with-mixed-feelings>
* Patch from Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-0/+15
| | | | Added Unicode type to the language reference.
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-035-37/+40
|
* Use \citetitle as appropriate.Fred Drake1999-11-103-30/+30
|
* Use \programopt in one place.Fred Drake1999-11-091-1/+1
|
* Added sentence "All exceptions must have an executable block."; fromFred Drake1999-08-241-1/+2
| | | | Dan Wolfe <wolfeman@apple.com>.
* Change an {\em ...} to \var{...} and a {\bf ...} to \program{...} (theFred Drake1999-07-291-1/+1
| | | | | | | new markup makes sense in context). These allow the SGML/XML conversion updates to work, & should not have still been in there anyway.
* Small nits around some of the index entries.Fred Drake1999-05-131-72/+68
| | | | | When refering to chapters, use \ref, don't hardcode the chapter number.
* Fixed some index entries.Fred Drake1999-05-101-36/+36
| | | | | | In the __coerce__ description, None should be returned if the conversion is *impossible*, not *possible*. Reported by Robert Kern <kernr@ncifcrf.gov>.
* Reflect recent patch for float % and divmod() by Tim Peters. ContentFred Drake1999-05-061-3/+10
| | | | updates by Tim Peters, markup by FLD.
* Added index entries for operator precedence; suggestion from RandallFred Drake1999-04-291-8/+10
| | | | Hopper <rhh@vislab.epa.gov>.
* Typo: "Otherwose" --> "Otherwise" (reported by Joakim SernbrantFred Drake1999-04-141-29/+29
| | | | | | <joakim.sernbrant@front.se>). Misc. small fixes to the logical markup.
* Fixed latex2html weirdness with footnotes.Fred Drake1999-04-053-18/+18
|
* Added note about __builtin__._ to section dicussing classes ofFred Drake1999-03-051-5/+15
| | | | reserved names, just to avoid confusion on the part of users.
* Dictionaries are created using the "{...}" notation, not the "..."Fred Drake1999-02-231-13/+11
| | | | notation. Problem reported by Magnus L. Hetland <mlh@idt.ntnu.no>.
* 1. Clarify that immutability isn't entirely the same as unchangeableGuido van Rossum1999-02-231-2/+12
| | | | | | | value (because of immutable containers containing mutable objects). 2. Document that func_code, func_defaults and func_doc / __doc__ are now writable.
* Revised description of blank line handling for the interpreter, basedFred Drake1999-02-221-7/+11
| | | | on a comment from /F.
* Minor markup nits.Fred Drake1999-02-122-18/+12
|
* Documented __complex__(), made sure all the discipline names hit theFred Drake1999-02-121-5/+8
| | | | index.
* "numberic" --> "numeric", two placesFred Drake1999-01-281-2/+2
|
* Removed a lot of unnecessary comment markers which cause unexplainedFred Drake1999-01-121-84/+83
| | | | numbers to appear in the HTML version of the manual.
* 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.)
* Clarify evaluation of default arguments at def time with more text andGuido van Rossum1998-12-041-2/+20
| | | | an example.
* Ignore the byproducts of SGML/XML conversions for now.Fred Drake1998-12-011-6/+3
|
* Remove two remaining {\tt ...} constructs.Fred Drake1998-11-251-1/+1
|
* Remove two remaining {\tt ...} constructs.Fred Drake1998-11-251-2/+2
|
* Massive change to just about every construct that impacts the index.Fred Drake1998-11-251-225/+210
| | | | Blame it on Just. ;-)
* Markup nits.Fred Drake1998-11-251-10/+15
| | | | Fixed an index entry, added three more.
* Minor fixups to some index entries.Fred Drake1998-11-251-3/+4
|