Georg Brandl
86fed7d3a6
Merged revisions 86794,86798,86801 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86794 | georg.brandl | 2010-11-26 12:50:13 +0100 (Fr, 26 Nov 2010) | 1 line
#10526 : fix typo.
........
r86798 | georg.brandl | 2010-11-26 13:05:48 +0100 (Fr, 26 Nov 2010) | 1 line
#10420 : fix docs of bdb.effective().
........
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.
........
2010-11-26 18:26:04 +00:00
Georg Brandl
b8d0e365e2
Merged revisions 85617-85622,85624,85626-85627,85629,85631,85635-85636,85638-85639,85641-85642 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85617 | georg.brandl | 2010-10-17 12:09:06 +0200 (So, 17 Okt 2010) | 1 line
#5212 : md5 weaknesses do not affect hmac, so remove the note about that.
........
r85618 | georg.brandl | 2010-10-17 12:14:38 +0200 (So, 17 Okt 2010) | 1 line
#9086 : correct wrong terminology about linking with pythonXY.dll.
........
r85619 | georg.brandl | 2010-10-17 12:15:50 +0200 (So, 17 Okt 2010) | 1 line
Make file names consistent.
........
r85620 | georg.brandl | 2010-10-17 12:22:28 +0200 (So, 17 Okt 2010) | 1 line
Remove second parser module example; it referred to non-readily-available example files, and this kind of discovery is much better done with the AST nowadays anyway.
........
r85621 | georg.brandl | 2010-10-17 12:24:54 +0200 (So, 17 Okt 2010) | 1 line
#9105 : move pickle warning to a bit more prominent location.
........
r85622 | georg.brandl | 2010-10-17 12:28:04 +0200 (So, 17 Okt 2010) | 1 line
#9112 : document error() and exit() methods of ArgumentParser.
........
r85624 | georg.brandl | 2010-10-17 12:34:28 +0200 (So, 17 Okt 2010) | 1 line
Some markup and style fixes in argparse docs.
........
r85626 | georg.brandl | 2010-10-17 12:38:20 +0200 (So, 17 Okt 2010) | 1 line
#9117 : fix syntax for class definition.
........
r85627 | georg.brandl | 2010-10-17 12:44:11 +0200 (So, 17 Okt 2010) | 1 line
#9138 : reword introduction to classes in Python.
........
r85629 | georg.brandl | 2010-10-17 12:51:45 +0200 (So, 17 Okt 2010) | 1 line
#5962 : clarify sys.exit() vs. threads.
........
r85631 | georg.brandl | 2010-10-17 12:53:54 +0200 (So, 17 Okt 2010) | 1 line
Fix capitalization.
........
r85635 | georg.brandl | 2010-10-17 13:03:22 +0200 (So, 17 Okt 2010) | 1 line
#5121 : fix claims about default values leading to segfaults.
........
r85636 | georg.brandl | 2010-10-17 13:06:14 +0200 (So, 17 Okt 2010) | 1 line
#9237 : document sys.call_tracing().
........
r85638 | georg.brandl | 2010-10-17 13:13:37 +0200 (So, 17 Okt 2010) | 1 line
Port changes to pickle docs apparently lost in py3k.
........
r85639 | georg.brandl | 2010-10-17 13:23:56 +0200 (So, 17 Okt 2010) | 1 line
Make twisted example a bit more logical.
........
r85641 | georg.brandl | 2010-10-17 13:29:07 +0200 (So, 17 Okt 2010) | 1 line
Fix documentation of dis.opmap direction.
........
r85642 | georg.brandl | 2010-10-17 13:36:28 +0200 (So, 17 Okt 2010) | 1 line
#9730 : fix example.
........
2010-11-26 07:53:50 +00:00
Georg Brandl
78f11edf3f
Merged revisions 85530,85534,85538,85540-85542 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85530 | georg.brandl | 2010-10-15 17:32:05 +0200 (Fr, 15 Okt 2010) | 1 line
Refrain from using inline suites.
........
r85534 | georg.brandl | 2010-10-15 18:19:43 +0200 (Fr, 15 Okt 2010) | 1 line
#9801 : document how list and dict proxies created by Managers behave w.r.t. mutable items.
........
r85538 | georg.brandl | 2010-10-15 18:35:46 +0200 (Fr, 15 Okt 2010) | 1 line
#7303 : add documentation for useful pkgutil functions and classes.
........
r85540 | georg.brandl | 2010-10-15 18:42:37 +0200 (Fr, 15 Okt 2010) | 1 line
#6798 : fix wrong docs for the arguments to several trace events.
........
r85541 | georg.brandl | 2010-10-15 18:53:24 +0200 (Fr, 15 Okt 2010) | 1 line
#4968 : updates to inspect.is* function docs.
........
r85542 | georg.brandl | 2010-10-15 19:01:15 +0200 (Fr, 15 Okt 2010) | 1 line
#7790 : move table of struct_time members to the actual description of struct_time.
........
2010-11-26 07:34:20 +00:00
Senthil Kumaran
bf02429c43
Merged revisions 86310 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86310 | senthil.kumaran | 2010-11-08 09:53:13 +0800 (Mon, 08 Nov 2010) | 3 lines
Fix Issue 10303: a small clarification in the tutorial.
........
2010-11-08 02:12:57 +00:00
Georg Brandl
fc3901e5bf
Clarify.
2010-11-05 07:38:48 +00:00
Georg Brandl
44c3ceb8ac
#8267 : Use sorted() to get a sorted list of dict keys.
2010-10-15 15:31:09 +00:00
Mark Dickinson
33e5935b53
More tweaks to floating-point section of the tutorial.
2010-08-04 21:44:47 +00:00
Georg Brandl
7d4bfb338d
Merged revisions 83536,83546-83548,83550,83554-83555,83558,83563,83565,83571,83574-83575 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line
#8578 : mention danger of not incref'ing weak referenced object.
........
r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line
#7973 : Fix distutils options spelling.
........
r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line
#7386 : add example that shows that trailing path separators are stripped.
........
r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line
#8172 : how does one use a property?
........
r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line
#9451 : strengthen warning about __*__ special name usage.
........
r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line
#7280 : note about nasmw.exe.
........
r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line
#8861 : remove unused variable.
........
r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line
#8648 : document UTF-7 codec functions.
........
r83563 | georg.brandl | 2010-08-02 22:21:21 +0200 (Mo, 02 Aug 2010) | 1 line
#9037 : add example how to raise custom exceptions from C code.
........
r83565 | georg.brandl | 2010-08-02 22:27:20 +0200 (Mo, 02 Aug 2010) | 1 line
#9111 : document that do_help() looks at docstrings.
........
r83571 | georg.brandl | 2010-08-02 22:44:34 +0200 (Mo, 02 Aug 2010) | 1 line
Clarify that abs() is not a namespace.
........
r83574 | georg.brandl | 2010-08-02 22:47:56 +0200 (Mo, 02 Aug 2010) | 1 line
#6867 : epoll.register() returns None.
........
r83575 | georg.brandl | 2010-08-02 22:52:10 +0200 (Mo, 02 Aug 2010) | 1 line
#9238 : zipfile does handle archive comments.
........
2010-08-02 21:44:25 +00:00
Georg Brandl
2c10840e2c
Merged revisions 82965 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82965 | georg.brandl | 2010-07-19 13:28:05 +0200 (Mo, 19 Jul 2010) | 1 line
Clarification. Yay importlib!
........
2010-08-01 21:28:47 +00:00
Mark Dickinson
d5d3256cac
Update the floating-point section of the tutorial for the short float repr.
2010-07-30 12:58:44 +00:00
Georg Brandl
565569b8dc
Confusing punctuation.
2010-06-27 10:47:47 +00:00
Georg Brandl
b20ada08bd
Fix punctuation.
2010-06-12 06:26:54 +00:00
Georg Brandl
9352f1c64e
#8346 : update version.
2010-04-10 11:16:59 +00:00
Ezio Melotti
eb72991fbb
Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list.
2010-03-31 07:26:24 +00:00
Georg Brandl
a39f2afe9b
Mention inefficiency of lists as queues, add link to collections.deque discussion.
2010-03-21 09:37:54 +00:00
Georg Brandl
0fcd882101
Introduce copy by slicing, used in later chapters.
2010-03-21 09:17:41 +00:00
Steven Bethard
e9330e7941
Initial commit of the argparse library, based on argparse 1.1.
...
Docs still need some updating to make getopt and optparse match the wording promised in the PEP.
There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.
2010-03-02 08:38:09 +00:00
Ezio Melotti
062d2b52f3
#7388 : "python".capitalize() in the Doc
2009-12-19 22:41:49 +00:00
Mark Dickinson
6b87f117ca
Fix some documentation examples involving the repr of a float.
2009-11-24 14:27:02 +00:00
Mark Dickinson
f058d2dc08
Issue #7369 : Fibonacci series should start at 0 in tutorial example.
2009-11-23 16:39:05 +00:00
Ezio Melotti
c4cd6d3765
fix highlight in the datetime example
2009-11-12 09:10:02 +00:00
Georg Brandl
07de4fc978
Add proper references.
2009-10-22 16:17:05 +00:00
Georg Brandl
4d94d31b6d
#6936 : for interactive use, quit() is just fine.
2009-09-18 07:22:41 +00:00
Ezio Melotti
2e85f503b1
#6879 - fix misstatement about exceptions
2009-09-16 13:14:05 +00:00
Georg Brandl
49bb9b7f0a
#6880 : add reference to classes section in exceptions section, which comes earlier.
2009-09-16 09:23:04 +00:00
Michael Foord
ee2df03009
Tutorial tweaks. Issue 6849.
2009-09-13 17:07:46 +00:00
Michael Foord
60931a5a58
Change to tutorial wording for reading text / binary files on Windows. Issue #6301 .
2009-09-13 16:13:36 +00:00
Georg Brandl
7d4f8fda49
#6777 : dont discourage usage of Exception.args or promote usage of Exception.message.
2009-09-04 11:32:18 +00:00
Georg Brandl
bf58d80123
#6828 : fix wrongly highlighted blocks.
2009-09-03 07:27:26 +00:00
Georg Brandl
a88fd7603b
#6808 : clarification.
2009-09-01 07:46:26 +00:00
Georg Brandl
254c17c758
#6813 : better documentation for numberless string formats.
2009-09-01 07:40:54 +00:00
Georg Brandl
0cfbd65975
#6725 : spell "namespace" consistently.
2009-08-24 17:20:40 +00:00
Georg Brandl
aa66a968d4
Remove potentially confusing sentence in __mangling description.
2009-08-13 12:57:25 +00:00
Georg Brandl
fb69631af7
Use locale.format_string() for more than one specifier.
2009-08-13 12:05:52 +00:00
Georg Brandl
4938fefce8
Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better.
2009-07-29 17:50:25 +00:00
Georg Brandl
14bb28aa62
Fix a few markup glitches.
2009-07-29 17:15:20 +00:00
Georg Brandl
ffefd5a8bb
Fix some markup and small factual glitches found by M. Markert.
2009-07-29 17:07:21 +00:00
Georg Brandl
07e20f8729
Add a link to readline, and mention IPython and bpython.
2009-07-29 16:57:05 +00:00
Georg Brandl
e2d2704017
#6564 : fix section about the two raise syntaxes.
2009-07-24 20:09:46 +00:00
Georg Brandl
a1a4bdb30c
#6505 : fix typos.
2009-07-18 09:06:31 +00:00
Mark Dickinson
11c4941b54
More Decimal quote fixing; backport of r73642
2009-06-28 21:48:15 +00:00
Georg Brandl
e3b9b5e4ed
#6204 : use a real reference instead of "see later".
2009-06-06 17:51:31 +00:00
Georg Brandl
4c324b9801
#6211 : elaborate a bit on ways to call the function.
2009-06-06 17:50:05 +00:00
Georg Brandl
7be493a86c
Use preferred form of raising exceptions.
2009-05-30 07:31:25 +00:00
Georg Brandl
5a8d7eb7f1
Use raise X(y).
2009-05-22 07:23:32 +00:00
Georg Brandl
5e88eea994
part of #4144 : fix exception message in console session.
2009-05-17 08:10:27 +00:00
Antoine Pitrou
789be0c0a0
Issue #2396 : backport the memoryview object.
2009-04-02 21:18:34 +00:00
Georg Brandl
a08867d8a1
Dont shout to users.
2009-03-31 23:01:27 +00:00
Georg Brandl
354e4cbb1c
#5018 : remove confusing paragraph.
2009-03-31 22:40:16 +00:00
Georg Brandl
186188d89d
#1530012 : move TQS section before raw strings.
2009-03-31 20:56:32 +00:00