summaryrefslogtreecommitdiffstats
path: root/Doc/tut/tut.tex
Commit message (Collapse)AuthorAgeFilesLines
* Fix up an awkward sentence, pointed out by Chris Ryland <cpr@emsoftware.com>.Fred Drake2001-01-011-1/+1
|
* Fix broken backslashes in Unicode strings section.Fred Drake2000-11-291-2/+2
| | | | This closes bug #123730.
* Partial fix for SF bug 123730: extra backslash in tutorial.Tim Peters2000-11-291-1/+1
|
* SF non-bug 123520: fleshed out the tutorial's lambda example a little more.Tim Peters2000-11-271-2/+9
|
* Typo: shorted --> shorterFred Drake2000-10-251-1/+1
| | | | This closes bug #117706.
* Update the display of some floating point values at the interactive promptFred Drake2000-10-201-6/+6
| | | | | | | | | to reflect current behavior. This closes SourceForge bug #117305. Made a reference to the library reference a hyperlink. Fixed some minor markup nits.
* Spelling: internalization --> internationalizationFred Drake2000-09-291-56/+48
| | | | | | | | | | | | | | | | | | | | | Fixed displays of the interactive prompt in running text. These close SourceForge bug #115658. Also: Updated discussion of tuple unpacking to reflect the general ability to unpack any sequence type. Explained that it is possible to create tuples which contain mutable values, and noted in the dictionary section that such tuples cannot be used as keys. Noted that .pyc and .pyo files can be run directly when provided as the script parameter to the interpreter, and slightly clarified comments about using modules with only the byte compiled code. Removed some XXX comments that are no longer relevant. Removed commented-out paragraph about __private names being experimental. Adjusted markup for consistency in some places.
* Correct some bitrot; some things have become inaccurate in the tutorial.Fred Drake2000-09-221-5/+9
| | | | | | | | | | <file>.readlines() does not call <file>.readline() internally anymore, and the sizehint parameter should be mentioned briefly. Some displays of floating point numbers needed to be updated due to the change in the repr() of floats (from 1.6). Both issues were noted by Aahz <aahz@panix.com>.
* When referring to namespaces, always say "namespaces" instead ofFred Drake2000-09-121-49/+50
| | | | | | "name spaces". Inconsistency noted by Keith Briggs <keith.briggs@bt.com>.
* require list comprehensions to start with a for clauseSkip Montanaro2000-08-221-4/+20
|
* Ka-Ping Yee <ping@lfw.org>:Fred Drake2000-08-161-6/+10
| | | | Further examples of list comprehensions.
* Fix some markup errors that prevented formatting, and one that didn't.Fred Drake2000-08-121-4/+5
|
* list comprehensions. seeSkip Montanaro2000-08-121-0/+21
| | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details.
* Rip out the information about the PSA, since the fate of that is notFred Drake2000-07-271-13/+9
| | | | | | | | | | certain. Update the information about the mailing list, using the python.org address instead of cwi.nl, and point to the pipermail archives. Also update the daily average message count (at the risk of scaring people off), using the mail archive at http://www.egroups.com/group/python-list for the first half of 2000 for statistical information.
* More of Rob W. W. Hooft's spelling fixes. The only ones left now are theThomas Wouters2000-07-161-4/+4
| | | | | | | | | | | 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.
* Markup improvements in sections relating to interactive behavior.Fred Drake2000-07-081-45/+51
| | | | Clarify some of the details of readline-related configuration.
* Update version numbering from 1.6 to 2.0.Fred Drake2000-06-301-1/+1
|
* Clarify the description of the else clause for try/except, and add anFred Drake2000-04-171-3/+8
| | | | | | explanation of why you'd want to use it. Based on a question from Michael Simcich <msimcich@accesstools.com>.
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-0/+101
| | | | | Tutorial information about Unicode strings in Python, with some markup adjustments from FLD.
* Fixed typo in example code; spotted by Everett LipmanFred Drake2000-04-041-1/+1
| | | | <lipman@sphere.niddk.nih.gov>.
* Merge in changes from the 1.5.2p2 release.Fred Drake2000-04-031-267/+410
|
* Use \citetitle and \programopt as appropriate.Fred Drake1999-11-101-44/+44
|
* Added "import string" to a couple of examples that describe stringFred Drake1999-09-141-0/+2
| | | | | module functions, to clarify that the import is not automatic. Suggested by Koray Oner <Koray.Oner@Eng.Sun.COM>.
* Added paragraph explaining that except clauses can't be empty; thatFred Drake1999-08-241-0/+4
| | | | pass can be used if needed. By Dan Wolfe <wolfeman@apple.com>.
* Made several grammatical corrections based on comments from DanielFred Drake1999-06-301-10/+20
| | | | | | | | Barcla <danielb@digitalfocus.com>. Also added example of what happens when a parameter is set both positionally and by a keyword (one of Daniels suggestions related to that paragraph).
* Fixed typo reported by Bennett BensonFred Drake1999-06-101-1/+1
| | | | <BennettBenson@mn.mediaone.net>.
* Explain comments at the start of chapter 3. This is needed since theyFred Drake1999-04-291-2/+21
| | | | | | appear in the examples without any further explanation, and the tutorial doesn't have this information explicit anywhere else. Omission reported by Jon Black <jblack@Ridgeway-Sys.com>.
* Update starship URLs.Fred Drake1999-04-291-2/+2
|
* In list of sequence comparison examples, "=" should be "==". ReportedFred Drake1999-04-161-1/+1
| | | | by Mirko Liss <n89553@hrz.uni-paderborn.de>.
* Fixed latex2html weirdness with footnotes.Fred Drake1999-04-051-10/+6
|
* Fixed grammatical error reported by Donald Wallace Rouse IIFred Drake1999-03-121-2/+2
| | | | <dwr2@ix.netcom.com>.
* Lots of nits to respond to various comments from users.Fred Drake1999-03-101-57/+56
|
* Document -OO; "unsafe" optimization that removes docstrings.Guido van Rossum1999-01-281-0/+9
| | | | Marc-Andre Lemburg.
* Minor clarifications by Sean Reifschneider:Guido van Rossum1999-01-061-1/+15
| | | | | - add example of string literal concatenation - add clarifying comment to the example of the if statement
* Clarified what Python versions the interactivity chapter applies to,Fred Drake1998-12-281-1/+9
| | | | and what it doesn't apply to.
* Change "for" explanation slightly based on comment passed along byFred Drake1998-11-301-7/+10
| | | | Blake Winton <BlakeW@pcdocs.com>.
* Eliminate remaining \verb/.../ constructs; there's no need for them.Fred Drake1998-11-171-3/+3
|
* The last two example functions in the section about default argumentGuido van Rossum1998-10-241-2/+2
| | | | values (4.7.1) should return l, not a. Reported by Axel Boldt.
* Add a \label to the section "Fancier Output Formatting" (it's referenced fromFred Drake1998-09-111-156/+89
| | | | | | the KOE docs). Some markup nits.
* Add warning that mutable argument defaults are evaluated only once;Guido van Rossum1998-08-071-0/+39
| | | | | | | | | with examples and workaround. This keeps coming up, and I believe that this section in the tutorial may have been (in part) the source of the confusion. While it didn't show examples with [] for a default, it also didn't emphasize enough why that would be a bad idea, and while it did say that defaults are evaluated at the point of function definition, the example was not relevant for this issue.
* Update to use a separate page for front matter.Fred Drake1998-07-281-0/+4
|
* In the example iterating over sys.argv and opening each argument,Guido van Rossum1998-07-071-1/+1
| | | | change it to iterate over sys.argv[1:]. Suggestion by Gerry Wiener.
* Added a section to the chapter on modules, describing the package system.Andrew M. Kuchling1998-07-011-0/+202
| | | | | | | | The text is almost completely from GvR's essay on packages; some introductory paragraphs have been removed, and everything after the 'Details' section in the HTML has been dropped (seems too technical). A paragraph has been added after the sample package layout stating that there must be a file called__init__.py in a directory to make it a package.
* Note that no .pyc/.pyo files are created for script files.Guido van Rossum1998-06-281-0/+7
|
* There's no point in mentioning F6 as an alternate EOF on DOS -- itGuido van Rossum1998-06-221-1/+1
| | | | | doesn't work on modern Windows systems, and Control-Z works everywhere.
* Say a bit more about .pyc and .pyo files.Guido van Rossum1998-05-291-5/+35
|
* Fixed example to load the startup file from a script (didn't test for theFred Drake1998-04-131-6/+30
| | | | | | | | | | file's existance). Removed some XXX comments about extension modules which support pickling. Added text from AMK about the readline and rlcompleter modules. Thanks, AMK!
* The built-in exceptions are not still strings, so make no claims about them.Fred Drake1998-04-121-1/+0
|
* Change \sectcode to logical markup.Fred Drake1998-04-041-3/+3
|
* Normalized case rules in section headings.Fred Drake1998-04-031-84/+76
| | | | | | Moved stuff from "Recent Additions to 1.1" to "More on Defining Functions". This means there's now a short section on "Defining Functions" immediately followed by a long section "More on Defining Functions."