summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
Commit message (Collapse)AuthorAgeFilesLines
* Issue #11948: merge with 3.2Sandro Tosi2012-01-191-18/+16
|\
| * Issue #11948: clarify modules search pathSandro Tosi2012-01-191-18/+16
| |
* | Merge with 3.2Terry Jan Reedy2012-01-111-2/+2
|\ \ | |/
| * Minor correction. #11418Terry Jan Reedy2012-01-111-2/+2
| |
* | merge with 3.2Georg Brandl2011-12-251-7/+7
|\ \ | |/
| * I do not think we will ever have auto-indent at the prompt, that is for ↵Georg Brandl2011-12-251-7/+7
| | | | | | | | IPython and the like.
* | #6570: merge with 3.2.Ezio Melotti2011-12-131-18/+23
|\ \ | |/
| * #6570: clarify tutorial section about keyword arguments.Ezio Melotti2011-12-131-18/+23
| |
* | #13549: merge with 3.2.Ezio Melotti2011-12-131-72/+102
|\ \ | |/
| * #13549: improve tutorial section about listcomps.Ezio Melotti2011-12-131-72/+102
| |
* | merge with 3.2Sandro Tosi2011-10-311-2/+1
|\ \ | |/
| * remove confusing paragraph (as part of r87523); thanks to AJ Hill from docs@Sandro Tosi2011-10-311-2/+1
| |
* | Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\ \ | |/
| * Remove duplication.Ezio Melotti2011-10-191-1/+1
| |
| * Branch mergeÉric Araujo2011-08-092-4/+27
| |\
* | | Closes #12192: Document that mutating list methods do not return the ↵Georg Brandl2011-10-081-8/+16
| | | | | | | | | | | | instance (original patch by Mike Hoy).
* | | Branch mergeÉric Araujo2011-08-092-4/+27
|\ \ \
| * \ \ Merge doc changes from 3.2 (#8617, #10745).Éric Araujo2011-08-062-4/+27
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the install and library docs, I changed the text to refer to packaging instead of distutils. I also checked that the documented paths correctly reflect what’s really defined in sysconfig; the main difference with paths defined in distutils.install is that include directories don’t end with the distribution name anymore (i.e. distutils uses include/python3.3/spam, sysconfig include/python3.3), I have no idea why.
| | * | Improve documentation for PEP 370 support in site module (#8617).Éric Araujo2011-08-052-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | site.USER_BASE and site.USER_SITE are now fully documented. PEP 370 is outdated with respects to the Mac framework situation, but the code in sysconfig and the example in the 3.2 What’s New document helped me find the right values to document for Mac OS X. The command-line interface of the site module, partly documented in the 3.2 What’s New, is fully described in the module docs. The purpose of the usercustomize module is explained in the site docs, with a gentle introduction in the tutorial (right after the section that talks about PYTHONSTARTUP; a comment mentions it should be moved from the tutorial to another file, but that will be another bug). Various markup and wording improvements were made along the way in the site module docs. Duplicate and incomplete declarations of environment variables have also been removed (the original bug report was actually about these entries :). The site module docs are still a bit messy; I’ll see about improving them for #11553. All these sections are copiously interlinked and findable from the doc indexes.
* | | | Merge with 3.2.Georg Brandl2011-08-081-0/+3
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Confirm that the prime example is actually correct. We get so many ↵Georg Brandl2011-08-081-0/+3
| |/ | | | | | | complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least.
* | Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)Éric Araujo2011-07-291-14/+14
|\ \ | |/
| * Make indentation comply with our style guide and the rest of the fileÉric Araujo2011-07-261-14/+14
| |
* | Issue 12086: add example showing how to use name mangling.Raymond Hettinger2011-06-251-0/+22
|\ \ | |/
| * Issue 12086: add example showing how to use name mangling.Raymond Hettinger2011-06-251-0/+22
| |
* | merge from 3.2 - Fix closes Issue12359 - Removing a confusing sentence from ↵Senthil Kumaran2011-06-201-7/+7
|\ \ | |/ | | | | the previous change.
| * Fix closes Issue12359 - Removing a confusing sentence from the previous change.Senthil Kumaran2011-06-201-7/+7
| |
| * minor space nit.Senthil Kumaran2011-06-201-1/+1
| |
* | merge from 3.2. Issue 12359Senthil Kumaran2011-06-201-7/+8
|\ \ | |/
| * Fix closes Issue12359 - Minor update to module import description.Senthil Kumaran2011-06-201-7/+8
| |
* | Merge minor doc change from 3.2Éric Araujo2011-06-111-0/+2
|\ \ | |/
| * Add missing reST target to one heading in the tutorialÉric Araujo2011-06-111-0/+2
| |
* | merge with 3.2Georg Brandl2011-05-011-2/+1
|\ \ | |/
| * Split combined code/doctest code blocks in two blocks, to enable proper ↵Georg Brandl2011-05-011-2/+5
| | | | | | | | highlighting.
* | Split combined code/doctest code blocks in two blocks, to enable proper ↵Georg Brandl2011-05-011-0/+4
| | | | | | | | highlighting.
* | Merge 3.2Éric Araujo2011-03-261-4/+1
|\ \ | |/
| * Merge 3.1Éric Araujo2011-03-261-4/+1
| |\
| | * Remove untrue statement from tutorialÉric Araujo2011-03-251-4/+1
| | |
* | | Merge with 3.2.Ezio Melotti2011-03-131-20/+19
|\ \ \ | |/ /
| * | Merge with 3.1.Ezio Melotti2011-03-131-20/+19
| |\ \ | | |/
| | * Fix markup in inputoutput.rst.Ezio Melotti2011-03-131-16/+17
| | |
* | | Use with statement where it improves the documentation (closes #10461)Éric Araujo2011-03-111-1/+3
| | |
* | | Name c -> cls in example.Georg Brandl2011-03-071-2/+2
| | |
* | | Merge doc fixes.Georg Brandl2011-03-061-5/+3
|\ \ \ | |/ /
| * | Merge doc fixes.Georg Brandl2011-03-061-5/+3
| |\ \ | | |/
| | * #11405: do not reference the string module again for its deprecated ↵Georg Brandl2011-03-061-5/+3
| | | | | | | | | | | | functions, only for Template class.
| | * Merged revisions ↵Georg Brandl2011-02-251-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87101,87146,87156,87172,87175,87371,87378,87522-87524,87526-87528,87530-87536,87581 via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ........ r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line Remove visible XXX comments. ........ r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line Fix "seperate". ........ r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line #10668: fix wrong call of __init__. ........ r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed. ........ r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line Fix markup. ........ r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line Fix typo. ........ r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line #10723: add missing builtin exceptions. ........ r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line Replace sys.maxint mention by sys.maxsize. ........ r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial. ........ r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line Fix advice: call PyType_Ready to fill in ob_type of custom types. ........ r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line #10777: fix iteration over dict keys while mutating the dict. ........ r87527 | georg.brandl | 2010-12-28 11:56:20 +0100 (Di, 28 Dez 2010) | 1 line #10768: fix ScrolledText widget construction, and make the example work from the interactive shell. ........ r87528 | georg.brandl | 2010-12-28 12:02:12 +0100 (Di, 28 Dez 2010) | 1 line Add news entry and clarify another. ........ r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line #10767: update README in crashers; not all may have a bug entry and/or be fixed. ........ r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line #10742: document readonly attribute of memoryviews. ........ r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line #10781: clarify that *encoding* is not a parameter for Node objects in general. ........ r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line Remove history; adapt a bit more to reST, since this will once be part of the dev guide. ........ r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line Rewrap. ........ r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected. ........ r87536 | georg.brandl | 2010-12-28 12:53:25 +0100 (Di, 28 Dez 2010) | 1 line #10609: fix non-working dbm example. ........ r87581 | georg.brandl | 2010-12-30 18:36:17 +0100 (Do, 30 Dez 2010) | 1 line Fix NameErrors. ........
| | * Merged revisions 87136,87221,87256,87337-87338,87571,87839,88164 via ↵R. David Murray2011-02-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines Have script_helper._assert_python strip refcount strings from stderr. This makes the output of the function and those that depend on it independent of whether or not they are being run under a debug build. ........ r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines #10699: fix docstring for tzset: it does not take a parameter Thanks to Garrett Cooper for the fix. ........ r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines #10705: document what the values of debuglevel are and mean. ........ r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines #10559: provide instructions for accessing sys.argv when first mentioned. ........ r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines #10454: clarify the compileall docs and help messages. [compileall.py changes not backported.] ........ r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines Fix same typo in docs. ........ r87839 | r.david.murray | 2011-01-07 16:57:25 -0500 (Fri, 07 Jan 2011) | 9 lines Fix formatting of values with embedded newlines when rfc2047 encoding Before this patch if a value being encoded had an embedded newline, the line following the newline would have no leading whitespace, and the whitespace it did have was encoded into the word. Now the existing whitespace gets turned into a blank, the way it does in other header reformatting, and the _continuation_ws gets added at the beginning of the encoded line. ........ r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc. Original patch by Michal Nowikowski, with some additions and wording fixes by me. I changed the wording from 'Performs a stat system call' to 'Performs the equivalent of a stat system call', since on Windows there are no stat/lstat system calls involved. I also extended Michal's breakout of the attributes into a list to the other paragraphs, and rearranged the order of the paragraphs in the 'stat' docs to make it flow better and put it in what I think is a more logical/useful order. ........
| | * Merged revisions 86882 via svnmerge fromGeorg Brandl2011-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r86882 | georg.brandl | 2010-11-30 09:20:16 +0100 (Di, 30 Nov 2010) | 1 line Fix input type for zlib. ........
| | * Recorded merge of revisions 86795,86798-86799,86801 via svnmerge fromGeorg Brandl2010-11-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r86795 | georg.brandl | 2010-11-26 12:55:48 +0100 (Fr, 26 Nov 2010) | 1 line Use PyLong_FromLong where appropriate. ........ r86798 | georg.brandl | 2010-11-26 13:05:48 +0100 (Fr, 26 Nov 2010) | 1 line #10420: fix docs of bdb.effective(). ........ r86799 | georg.brandl | 2010-11-26 13:08:19 +0100 (Fr, 26 Nov 2010) | 1 line Remove parenthetical remark that is confusing now that the module is not named "__builtin__" anymore. ........ r86801 | georg.brandl | 2010-11-26 13:12:14 +0100 (Fr, 26 Nov 2010) | 1 line Better example for os.system(): do not change the system time. ........