Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Nits. | Raymond Hettinger | 2003-07-15 | 1 | -2/+2 |
| | |||||
* | SF patch #726751: Clarify docs for except target assignment | Raymond Hettinger | 2003-07-12 | 1 | -8/+20 |
| | | | | | Brett found that the tutorial didn't really explain what was happening with exception targets. Hopefully, this sheds some light on the subject. | ||||
* | Minor fixups and added sections for iterators and generators. | Raymond Hettinger | 2003-07-11 | 1 | -3/+117 |
| | |||||
* | - explain about making Python scripts executable on Unix in more | Fred Drake | 2003-07-07 | 1 | -2/+13 |
| | | | | | detail - fix minor markup nit | ||||
* | SF #751062: Tutorial: remove string exceptions, add parnassus, #posts | Raymond Hettinger | 2003-07-01 | 1 | -8/+9 |
| | | | | | | | | (Contributed by Gerritt Holl) * Remove the last mentions of string exceptions * Reference a third-party repository of programs * Minor clarification of comp.lang.py posting volumes | ||||
* | SF bug #762990: Awful Grammar in Python Tutorial | Raymond Hettinger | 2003-06-30 | 1 | -1/+1 |
| | | | | Fixed a nit. | ||||
* | minor wordsmithing | Skip Montanaro | 2003-06-29 | 1 | -6/+6 |
| | |||||
* | Correct markup errors that prevented formatting. | Fred Drake | 2003-06-28 | 1 | -2/+2 |
| | |||||
* | Explain source encodings. Fixes #683486. | Martin v. Löwis | 2003-06-28 | 1 | -0/+33 |
| | |||||
* | Remove heading from orphan section. | Fred Drake | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | Include "instances of most classes" in a warning about mutable objects | Fred Drake | 2003-06-18 | 1 | -2/+3 |
| | | | | as default values of function/method parameters. | ||||
* | Markup nits. | Fred Drake | 2003-05-20 | 1 | -5/+5 |
| | |||||
* | More message updates and minor fixes. | Raymond Hettinger | 2003-05-07 | 1 | -10/+9 |
| | |||||
* | Update traceback message | Raymond Hettinger | 2003-05-07 | 1 | -1/+1 |
| | |||||
* | add missing parens - verified w/ interpreter - sorry to dismiss your comment | Skip Montanaro | 2003-05-07 | 1 | -1/+1 |
| | | | | Fred | ||||
* | replace most uses of `...` by repr(...), noting that `...` is discouraged, | Skip Montanaro | 2003-05-07 | 1 | -17/+15 |
| | | | | but convenient in interactive sessions. | ||||
* | Fix some markup nits. | Fred Drake | 2003-04-22 | 1 | -3/+5 |
| | |||||
* | Adding new built-in function sum, with docs and tests. | Alex Martelli | 2003-04-22 | 1 | -1/+4 |
| | |||||
* | SF bug #699237: Tutorial uses omitted slice indices before explaining them | Raymond Hettinger | 2003-03-12 | 1 | -11/+11 |
| | | | | Moved up the explanation of slice default arguments. | ||||
* | - New function sys.exc_clear() clears the current exception. This is | Guido van Rossum | 2003-03-01 | 1 | -8/+9 |
| | | | | | | rarely needed, but can sometimes be useful to release objects referenced by the traceback held in sys.exc_info()[2]. (SF patch #693195.) Thanks to Kevin Jacobs! | ||||
* | Chapter titles that get split over multiple lines in the typeset | Fred Drake | 2002-10-28 | 1 | -5/+3 |
| | | | | | | | formats can't have whitespace after the last non-blank character (bug in LaTeX?); fix up a couple of instances of this. Update an email address. | ||||
* | Clarify packages in tutorial. Closes SF bug #616211. | Raymond Hettinger | 2002-10-26 | 1 | -0/+3 |
| | |||||
* | Describe __path__ along with the rest of the package description. | Fred Drake | 2002-10-22 | 1 | -1/+12 |
| | | | | Closes SF bug #626554. | ||||
* | Remove mentionings of DOS. | Martin v. Löwis | 2002-10-10 | 1 | -1/+1 |
| | |||||
* | Added a tutorial note and example regarding the scope of loop variables | Raymond Hettinger | 2002-09-06 | 1 | -0/+13 |
| | | | | | | | in a list comprehension. Includes a justification and a comparision to regular for-loops. Closes SF bug 605047. | ||||
* | Replace all cases of "while 1" with "while True". | Raymond Hettinger | 2002-08-21 | 1 | -7/+7 |
| | | | | Though slightly slower, has better clarity and teaching value. | ||||
* | This is my patch | Michael W. Hudson | 2002-08-15 | 1 | -6/+5 |
| | | | | | | | | [ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change. | ||||
* | Remove a broken example of extreme backward compatibility; it is | Fred Drake | 2002-08-14 | 1 | -21/+0 |
| | | | | | simply not relevant any more. Closes SF bug #595032. | ||||
* | GvR pointed out that only enclosing function bodies are part of nested scopes. | Raymond Hettinger | 2002-08-07 | 1 | -5/+5 |
| | |||||
* | Describe nested scopes in the tutorial. Closes SF bug 500704. | Raymond Hettinger | 2002-08-07 | 1 | -6/+11 |
| | |||||
* | Fix typo reported to python-docs. | Fred Drake | 2002-06-26 | 1 | -1/+1 |
| | |||||
* | Close bug 480337: Dict used before dicts explained. Added explanation | Raymond Hettinger | 2002-06-25 | 1 | -2/+11 |
| | | | | and examples of the dict() constructor. | ||||
* | Fix spacing in loop example | Raymond Hettinger | 2002-06-25 | 1 | -3/+3 |
| | |||||
* | Completely revise markup for the list of list methods; the new markup matches | Fred Drake | 2002-06-11 | 1 | -26/+35 |
| | | | | | | | the semantics and presentation used in the library reference. Added an explanation of the use of [...] to denote optional arguments, since this is the only use of this in a signature line. Closes SF bug #567127. | ||||
* | As discussed on python-dev, add a mechanism to indicate features | Neal Norwitz | 2002-05-29 | 1 | -16/+17 |
| | | | | | that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved. | ||||
* | Message for NameError has changed | Andrew M. Kuchling | 2002-05-02 | 1 | -1/+1 |
| | |||||
* | Documentation for the enumerate() function/type. | Fred Drake | 2002-04-26 | 1 | -0/+43 |
| | | | | This closes SF patch #547162. | ||||
* | "Shortcut" should be "short-circuit". | Fred Drake | 2002-03-08 | 1 | -6/+7 |
| | | | | This closes SF bug #526277. | ||||
* | Revise cheeseshop example so that the order of the keyword output is | Fred Drake | 2002-01-29 | 1 | -1/+8 |
| | | | | | | completely determined by the example; dict insertion order and the string hash algorithm no longer affect the output. This fixes SF bug #509281. | ||||
* | Fix up some examples in the tutorial so we don't contradict our own | Fred Drake | 2001-12-20 | 1 | -2/+2 |
| | | | | | advice on docstrings. This fixes SF bug #495601. | ||||
* | Include a warning that scripts should not have the same name as standard | Fred Drake | 2001-12-04 | 1 | -13/+37 |
| | | | | | | | modules, or the module cannot be properly imported. (Based on a suggestion sent to python-docs.) Update the displayed dir() of the sys and __builtin__ module with Python 2.2. | ||||
* | Talk about str() in the discussion of string representations of values, and | Fred Drake | 2001-12-04 | 1 | -3/+26 |
| | | | | | give examples for which str() and repr() yield different results. This closes SF bug #485446. | ||||
* | Update lambda description to reflect nested scopes. This was noted by | Fred Drake | 2001-12-03 | 1 | -4/+2 |
| | | | | Andrew Koenig. | ||||
* | Add a scalar product to the example list comprehensions based on a suggestion | Fred Drake | 2001-12-03 | 1 | -0/+2 |
| | | | | sent to python-docs. | ||||
* | Clean up some markup cruft. A number of the macros that take no | Fred Drake | 2001-11-28 | 1 | -6/+6 |
| | | | | | | | | 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. | ||||
* | Fix thinko in a comment about seeking with a file object. | Fred Drake | 2001-10-16 | 1 | -1/+1 |
| | | | | Reported by Francesco Trentini. | ||||
* | Exceptions in interactive examlpes did not always include the indication of | Fred Drake | 2001-09-21 | 1 | -19/+85 |
| | | | | | | | | | the source file using "in ?". Added a description of the bare "raise" statement. Added more description and examples for user-defined exceptions; this is part of a response to SF bug #443559. | ||||
* | Clarified the interaction between string literals and continuation lines. | Fred Drake | 2001-09-06 | 1 | -5/+28 |
| | | | | Fixes bug reported as SF bug #453728. | ||||
* | Make the examples for "Default Argument Values" more presentable and | Fred Drake | 2001-09-06 | 1 | -9/+13 |
| | | | | | less hostile to newbie use at the interactive prompt. This is in response to SF bug #458654. | ||||
* | Clarify the prompt in an example. | Fred Drake | 2001-08-14 | 1 | -1/+1 |
| | | | | This closes SF bug #450633. |