summaryrefslogtreecommitdiffstats
path: root/Doc/ref
Commit message (Collapse)AuthorAgeFilesLines
* Added some missing index entries, noted by L. Peter Deutsch.Fred Drake2001-12-271-0/+2
| | | | This should be included in Python 2.2.1.
* Update to use the notice environment so a multi-paragraph note can beFred Drake2001-12-141-2/+4
| | | | appropriately marked.
* Update information about __del__() & reference cycles for CPython.Fred Drake2001-12-141-7/+18
| | | | | | | This partially fixes SF bug #492619. Fix a typo & use the new notice environment instead of (ab)using the \note and \warning macros.
* Work around the problem of spaces after a "}" being dropped by LaTeX2HTML ifFred Drake2001-12-141-5/+5
| | | | | they were represented by newlines in the document source. Partially fixes SF bug #493243.
* Fix forMichael W. Hudson2001-12-121-2/+45
| | | | [ #429329 ] actual-parameters *arg, **kws not doc'd
* 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-112-1/+65
|
* Fix whitespace in example of bad indentation: a comment indicated that oneFred Drake2001-12-111-8/+8
| | | | | | | line was not indented at all, so the example is no longer indented at all. All of the errors being shown remain. Typo: characteru --> character
* Add change notes where im_class is discussed, since the exact meaning changesFred Drake2001-12-071-0/+2
| | | | with Python 2.2.
* Correct the description of im_class. (Fred, this is changed in 2.2.Guido van Rossum2001-12-071-6/+5
| | | | Should this be labeled as changed? How?)
* 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.
* Import the keyword module instead of relying on our own list ofGuido van Rossum2001-12-041-11/+2
| | | | reserved words. No longer need to import string.
* Put the keywords back in alphabetical order. Apparently somebodyGuido van Rossum2001-12-041-2/+2
| | | | didn't use reswords.py, as the comment clearly states. :-(
* Remove most references to __members__ and __methods__, leaving only one pairFred Drake2001-12-031-8/+1
| | | | | | of references that now state that these attributes have been removed, directing the reader to the dir() function. This closes SF bug #456420.
* Clean up some markup cruft. A number of the macros that take noFred Drake2001-11-283-11/+11
| | | | | | | | parameters (like \UNIX) are commonly entered using an empty group to separate the markup from a following inter-word space; this is not needed when the next character is punctuation, or the markup is the last thing in the enclosing group. These cases were marked inconsistently; the empty group is now *only* used when needed.
* Fred observes that the typo was not the only problem with this sentence.Jeremy Hylton2001-11-141-1/+1
|
* typoJeremy Hylton2001-11-141-2/+2
|
* 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__().
* Use the \note and \warning macros where appropriate.Fred Drake2001-10-202-6/+6
|
* Fix typo reported by Michael Soulier.Fred Drake2001-10-181-1/+1
|
* Removed stray backslash (a typo -- my fault).Tim Peters2001-10-011-1/+1
|
* The description of dictionary comparison was out of date. Rather thanTim Peters2001-10-011-9/+12
| | | | | | try to explain the complex general scheme we actually use now, I decided to spell out only what equality means (which is easy to explain and intuitive), leaving the other outcomes unspecified beyond consistency.
* Refer to the objects which define __len__(), __*item__(), and __iter__()Fred Drake2001-10-011-17/+35
| | | | | | as container objects rather than as mapping objects (in the index entries). Change the section heading and intro sentence to be a little more general, since that's how things have actually evolved.
* Fix minor usage and consistency nits.Fred Drake2001-09-181-4/+5
|
* Work around a LaTeX2HTML bug that caused the "m" in "mutable" to be droppedFred Drake2001-09-101-1/+1
| | | | in one place.
* SF patch #455966: Allow leading 0 in float/imag literals.Tim Peters2001-08-301-7/+7
| | | | Consequences for Jython still unknown (but raised on Jython-Dev).
* Docs for the PEP 264 changes.Michael W. Hudson2001-08-271-11/+23
|
* Add material about the "r" and "u" prefixes for string literals; shouldFred Drake2001-08-141-8/+14
| | | | | | | be reviewed for clarity. Work around a bogosity in the HTML version of the escape sequences table conversion.
* Add information about __floordiv__() and __truediv__() methods forFred Drake2001-08-141-5/+17
| | | | implementing numeric objects in Python.
* "Thin" version of floor division docs: add // to the list of operatorsFred Drake2001-08-081-3/+3
| | | | | | and //= to the list of other delimiter tokens. I'll work on it again when it's not so late...
* User-defined methods *can* contain things other than user-defined functionsFred Drake2001-08-021-1/+2
| | | | as the callable, so use more flexible language.
* Explain that __init__() methods do not get to return values.Fred Drake2001-08-021-8/+9
|
* Removed unnecessary section "Unicode literals"; all the discussion isFred Drake2001-07-201-6/+1
| | | | | | | already present in the "String literals" section, including comments on the "u" prefix and the additional escape sequences used for Unicode. This relates to SF bug #442526.
* Fix typo in description of raw strings: "value" --> "valid"Fred Drake2001-07-201-1/+1
| | | | This closes SF bug #443059.
* Minor change to match the style guide.Fred Drake2001-07-141-1/+1
|
* Change the grammar productions to use the new productionlist environment;Fred Drake2001-07-065-261/+410
| | | | | this supports a hyperlinked version of the grammar that can make tracking down details and definitions a little easier.
* Fix typoAndrew M. Kuchling2001-06-231-1/+1
|
* Remove some bogus trailing whitespace.Fred Drake2001-06-231-2/+2
|
* Fix minor markup nits.Fred Drake2001-06-232-6/+2
|
* Use a named reference to another chapter instead of hard coding theFred Drake2001-06-231-2/+2
| | | | | chapter number. This also makes the reference a hyperlink in the HTML version.
* Fix a very minor (but annoying when looking for things!) markup nit.Fred Drake2001-06-237-0/+43
|
* Add "yeild" to the list of keywords.Fred Drake2001-06-231-2/+18
| | | | Fix a very minor (but annoying when looking for things!) markup nit.
* Update to include the license information in a less annoying place.Fred Drake2001-06-201-0/+3
|
* Update a "Programmer's note" about lambda forms and scoping to reflectFred Drake2001-06-051-5/+19
| | | | the availability of nested scoping in Python 2.1 and 2.2.
* Bring the notes on the relationship between __cmp__(), __eq__(), andFred Drake2001-05-291-10/+15
| | | | | | | __hash__() up to date (re: use of objects which define these methods as dictionary keys). This closes SF bug #427698.
* Fix typo reported in SF bug #427783.Fred Drake2001-05-291-1/+1
|
* Make sure we include all of Python's numeric types in the data modelFred Drake2001-05-141-1/+2
| | | | | | description, so that the introduction of complex is not a surprise. This closes SF bug #423429.
* Fix typo reported by David Goodger. This closes SF patch #422383.Fred Drake2001-05-101-1/+1
|
* Fix the operator precedence table: exponentiation binds tighter thanFred Drake2001-05-091-2/+2
| | | | | | negation. This closes SF bug #421999.