summaryrefslogtreecommitdiffstats
path: root/Doc/ref
Commit message (Collapse)AuthorAgeFilesLines
* Update: Older versions of Python crashed when calling repr()Fred Drake2002-11-131-3/+5
| | | | | | (including the implied call using back-ticks) of a recursive object, but this is no longer the case. Reported by Manus Hand via email.
* Closes SF bug #634069 reporting the docs on the ** operator were outRaymond Hettinger2002-11-081-4/+14
| | | | of date and did not reflect the current CPython implementation.
* Relocate an index entry so named anchors are not generated in a section head.Fred Drake2002-10-241-1/+2
| | | | Closes SF bug #546579.
* 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").
* Added cross-references to related material on exceptions.Fred Drake2002-10-181-0/+3
| | | | Closes SF bug #217195.
* Make sure section numbers wrap together with the preceeding wordFred Drake2002-10-181-2/+3
| | | | ("section").
* Clarify deprecation of the floor div operator, modulo operator,Raymond Hettinger2002-10-111-5/+4
| | | | | | and divmod() function for complex numbers. Closes SF Bug 621708: Unclear deprecation.
* Remove mentionings of DOS.Martin v. Löwis2002-10-101-1/+1
|
* Modified presentation of the grammar for calls to be easier to readFred Drake2002-10-071-4/+5
| | | | | for both HTML and typeset renderings. Corresponds to revision 1.53.4.8 on the r22-maint branch.
* Another try at clarifying what goes into and comes out of Unicode objects.Fred Drake2002-09-241-12/+20
| | | | Document the indices() method of slice objects.
* Another try at clarifying what goes into and comes out of Unicode objects.Fred Drake2002-09-241-27/+46
|
* Clarified that the footnote applies to versions 1.5 and after instead ofRaymond Hettinger2002-09-081-4/+4
| | | | just version 1.5. Closes SF bug 577793.
* Ignore encoding declarations inside strings. Fixes #603509.Martin v. Löwis2002-09-031-1/+1
|
* add warning about exception messagesSkip Montanaro2002-08-281-0/+7
|
* Apply character{} markup.Raymond Hettinger2002-08-071-16/+17
|
* Fix up some more markup problems.Fred Drake2002-08-071-8/+9
|
* Document handling of raw-unicode-escapes. Closes SF bug 587087.Raymond Hettinger2002-08-061-0/+8
|
* Fix the markup so it doesn't break formatting.Fred Drake2002-08-061-4/+4
|
* Patch #534304: Implement phase 1 of PEP 263.Martin v. Löwis2002-08-041-5/+39
|
* A few days ago, Guido said (in the thread "[Python-Dev] PythonMichael W. Hudson2002-07-191-0/+9
| | | | | | | | version of PySlice_GetIndicesEx"): > OK. Michael, if you want to check in indices(), go ahead. Then I did what was needed, but didn't check it in. Here it is.
* Fix various typos reported to python-docs.Fred Drake2002-06-261-1/+1
|
* Close bug 417930 by clarifying augmented assignment docsRaymond Hettinger2002-06-251-0/+14
|
* Minor English grammar correctionRaymond Hettinger2002-06-251-1/+1
|
* Try to improve the explanation of the "raise" statement and how its argumentsFred Drake2002-06-202-33/+39
| | | | | are interpreted. This closes SF bug #532467.
* Simplify the production for argument list, making sure that itFred Drake2002-06-201-4/+4
| | | | | | actually allows all the legal syntax, and nothing else. Previously, it did not allow a call like func(arg, **dictionary). This closes (again!) SF bug #493243.
* SF 563530 added missing methods for emulating numeric typesRaymond Hettinger2002-06-201-1/+5
|
* Add a note about "as" not being a keyword, though it has special meaningFred Drake2002-06-181-0/+7
| | | | | | | | when used as part of the import statement. Note that both "as" and "None" becoming keywords in the future. Closes SF bug #553262.
* Played contortionist games with the argument_list production so itFred Drake2002-06-181-4/+4
| | | | | might be easier to understand. This relates to SF bug #493243, which will be closed.
* Typo.Michael W. Hudson2002-06-171-1/+1
|
* This is my nearly two year old patchMichael W. Hudson2002-06-111-0/+7
| | | | | | | | | [ 400998 ] experimental support for extended slicing on lists somewhat spruced up and better tested than it was when I wrote it. Includes docs & tests. The whatsnew section needs expanding, and arrays should support extended slices -- later.
* Fix up Guido's markup.Fred Drake2002-06-041-24/+24
|
* Addressed SF bug 421973 (finally).Guido van Rossum2002-06-031-46/+88
| | | | | | | | | | | | | | | | | Rewrote the subsection on coercion rules (and made it a proper subsection, with a label). The new section is much less precise, because precise rules would be too hard to give (== I don't know what they are any more :-). OTOH, the new section gives much more up-to-date information. Also noted that __coerce__ may return NotImplemented, with the same meaning as None. I beg Fred forgiveness: my use of \code{} is probably naive. Please fix this and other markup nits. An index entry would be nice. This could be a 2.2 bugfix candidate, if we bother about old docs (Fred?)
* Patch 543387. Document deprecation of complex %, //,and divmod().Raymond Hettinger2002-05-211-3/+8
|
* Closes SF patch: 552468.Raymond Hettinger2002-05-121-4/+2
| | | | Type class unification invalidated the statement: x.__getitem__[i] is not equivalent to x[i].
* Added a missing "|" in the grammar productions used in the reference manualFred Drake2002-04-301-7/+9
| | | | | | | (reported by François Pinard). Added some missing "_" characters in the same cluster of productions. Added missing floor division operator in m_expr production, and mention floor division in the relevant portion of the text.
* Minor change to an index entry.Fred Drake2002-04-231-1/+1
|
* Adjust markup to worm around tool limitations; the "m" in "model" was beingFred Drake2002-04-171-1/+1
| | | | | dropped in the HTML formatted version. Reported by Mike Coleman.
* Remove repeated index entry; adds nothing different.Fred Drake2002-04-161-2/+1
| | | | Closes SF bug #518985.
* Document __unicode__. Fixes #541245.Martin v. Löwis2002-04-111-0/+7
|
* Fix typo: coverted --> converted. Reported by Francois Pinard.Fred Drake2002-04-091-1/+1
|
* Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum2002-04-031-3/+17
| | | | | | | | | | | | | PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates.
* Change reference to execframes to naming.Jeremy Hylton2002-04-011-1/+1
|
* Restore a minimal definition of execution frame, since other parts ofJeremy Hylton2002-04-011-0/+6
| | | | | | | | the manual refer to it. XXX Not sure that it belongs in this section, or that the concept is particularly important for writing documentation. Perhaps references to the frame should be removed entirely.
* Update programmer's note on nested functions.Jeremy Hylton2002-04-011-5/+5
|
* 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.
* Given lambda its own section, instead of burying it in boolean operators.Jeremy Hylton2002-04-011-30/+7
|
* Update / simplify Identifiers section for nested scopes.Jeremy Hylton2002-04-011-18/+2
| | | | How do I create a cross reference to section 4.1?