Commit Graph

9939 Commits

Author SHA1 Message Date
Georg Brandl 95f8ef2825 make "super only for new-style classes" a note. 2009-02-07 18:49:54 +00:00
Georg Brandl 34feea3205 #5174: fix wrong file closing in example. 2009-02-07 12:21:17 +00:00
Benjamin Peterson a96a94af50 fix download link 2009-02-06 01:47:31 +00:00
Eric Smith 81fe09344c Implement issue #4285, convert sys.version_info to a named
tuple. Patch by Ross Light.
2009-02-06 00:48:26 +00:00
Georg Brandl ecd2afa452 #5031: fix Thread.daemon property docs. 2009-02-05 11:40:35 +00:00
Georg Brandl 85c5ccfab9 #4563: disable alpha and roman lists, fixes wrong formatting of contributor list. 2009-02-05 11:38:23 +00:00
Georg Brandl 2b0dd8e199 #4820: use correct module for ctypes.util. 2009-02-05 11:35:28 +00:00
Georg Brandl 253a29fa4d #4827: fix callback example. 2009-02-05 11:33:21 +00:00
Georg Brandl 4400d84bf7 #5015: document PythonHome API functions. 2009-02-05 11:32:18 +00:00
Georg Brandl 3ceebd2ca7 PyErr_PrintEx is also in 2.x... 2009-02-05 11:23:47 +00:00
Georg Brandl b21c75beab #5059: fix example. 2009-02-05 10:59:28 +00:00
Georg Brandl acc802b171 #5144: document that PySys_SetArgv prepends the script directory (or the empty string) to sys.path. 2009-02-05 10:37:07 +00:00
Georg Brandl 174fbe7742 #5153: fix typo in example. 2009-02-05 10:30:57 +00:00
Raymond Hettinger aff711d32a Clarify that named tuples do not have to subclass tuple. 2009-02-04 19:25:17 +00:00
Raymond Hettinger 939a3cc5a2 Tweak the docs for Counter() objects. 2009-02-04 11:31:30 +00:00
Raymond Hettinger 8184f5a46c Doc fixes. Remove overbroad, redundant warnings. Fixup example code. 2009-02-04 11:14:18 +00:00
Raymond Hettinger d507afdc81 Minor doc fixups. 2009-02-04 10:52:32 +00:00
Raymond Hettinger 4a1b62a555 Record operator deprecations in docs. 2009-02-03 03:18:14 +00:00
Gregory P. Smith 86cc5029dc wording for for issue4903. 2009-02-01 00:24:21 +00:00
Gregory P. Smith 5501d65590 Update doc wording as suggested in issue4903. 2009-02-01 00:16:01 +00:00
David Goodger a528dc507c markup fix 2009-01-31 22:53:46 +00:00
Benjamin Peterson 4829136965 fix indentation 2009-01-31 20:01:48 +00:00
Benjamin Peterson 0ef803ff0f PyErr_BadInternalCall() raises a SystemError, not TypeError #5112 2009-01-31 16:52:03 +00:00
Andrew M. Kuchling 8c2f85c43e Text edits and markup fixes 2009-01-31 03:26:02 +00:00
Andrew M. Kuchling a17cd4a574 Add a section 2009-01-31 02:50:09 +00:00
Benjamin Peterson 6c8321883e fix download url 2009-01-29 03:03:00 +00:00
Brett Cannon 8aa2c6ce8e Minor spelling mistake in datetime docs. 2009-01-29 00:54:32 +00:00
Brett Cannon 5b0d5531f2 Clarify some __del__ stuff. 2009-01-29 00:54:11 +00:00
Raymond Hettinger 1712baa852 Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods. 2009-01-28 23:58:16 +00:00
Guilherme Polo cda93aafde Added the ttk module. See issue #2983: Ttk support for Tkinter. 2009-01-28 13:09:03 +00:00
Raymond Hettinger d081abc8be Promote combinations_with_replacement() from a recipe to a regular itertool. 2009-01-27 02:58:49 +00:00
Raymond Hettinger 22bfa9e3e8 Tweak column alignment for collections docs. 2009-01-27 02:36:33 +00:00
Georg Brandl 0c2430beda Copy over docs on advanced role features from Sphinx docs. 2009-01-26 21:29:38 +00:00
Brett Cannon 93881c6c58 Backport importlib in the form of providing importlib.import_module(). This has
been done purely to help transitions from 2.7 to 3.1.
2009-01-26 01:16:50 +00:00
Raymond Hettinger 68d919e4d6 Improved itertools recipe for generating powerset(). 2009-01-25 21:31:47 +00:00
Raymond Hettinger 2bcb8e9b0d Promote compress() from a recipe to being a regular itertool. 2009-01-25 21:04:14 +00:00
Tarek Ziadé 1af3b5a9a4 Issue #4863, removing remaining bits 2009-01-25 19:29:10 +00:00
Jesse Noller b5a4b0abed Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels 2009-01-25 03:36:13 +00:00
Andrew M. Kuchling 466bd9d3af Add various items 2009-01-24 03:28:18 +00:00
Jesse Noller 403c6632e6 Issue 4593: apply() documentation is unclear 2009-01-22 21:53:22 +00:00
Georg Brandl 40e8415509 Clarify wording. 2009-01-22 18:29:28 +00:00
Raymond Hettinger 7bdca05a3b More doc tweaks. 2009-01-22 05:20:47 +00:00
Raymond Hettinger 0a1f7b8f72 Tighten-up the docs for Counter(). 2009-01-21 23:12:51 +00:00
Raymond Hettinger 4571f347f9 Simplify explanation of multiset operations by removing restrictions on negative inputs. 2009-01-21 20:31:50 +00:00
Andrew M. Kuchling 42ffbdb903 Markup fixes 2009-01-21 02:16:26 +00:00
Andrew M. Kuchling 9cb4277c60 Add some items 2009-01-21 02:15:43 +00:00
Raymond Hettinger acdc84abcf Beautify and cleanup the references section. 2009-01-20 23:42:54 +00:00
Raymond Hettinger 196a0f7a8a Fix typos. 2009-01-20 12:59:36 +00:00
Raymond Hettinger 230dd27628 Don't disrupt automatic url target name generation
with manually specified, conflicting names.

Before:
    http://docs.python.org/dev/library/collections.html#id1

After:
    http://docs.python.org/dev/library/collections.html#counter-objects
2009-01-20 07:11:47 +00:00
Raymond Hettinger bad1eb2ff3 Build-outs for Counter() class:
* Constructor and update() support keyword args (like their dict counterparts).
* The 'del' statement no longer raises KeyError for missing values.
* Add multiset operations:  __add__, __sub__, __and__, __or__.
2009-01-20 01:19:26 +00:00