35 Commits

Author SHA1 Message Date
INADA Naoki
9436bbd87b bpo-29165: doc: make extending/newtypes more Python 3 friendly (GH-211)
* Use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT on type struct header.
* Backport many minor fixes from Python 3 doc to minimize diff.
2017-02-21 21:12:03 +09:00
Georg Brandl
06f3b3b98c Use https:// URLs when referring to python.org hosts. 2014-10-29 08:36:35 +01:00
Andrew Svetlov
1625d88709 Issue #16341: convert examples to use except ... as ... syntax. 2012-10-30 21:56:43 +02:00
Petri Lehtinen
a15a8d2a0c sqlite3: Port relevant documentation changes from 3.2
Initial patch by Johannes Vogel. Issue #13491.
2012-03-01 21:48:30 +02:00
Petri Lehtinen
002b202009 Fix errors in sqlite3's Cursor.rowcount documentation
Closes #13995.
2012-02-16 21:42:34 +02:00
Sandro Tosi
f45501d8f8 caught is the right pp of catch; thanks to Don Bennett from docs@ 2011-10-31 02:40:26 +01:00
Larry Hastings
fc45bbaccc Issue #13053: Added section on migrating from CObject to Capsule
to howto/cporting.rst.
2011-10-09 13:03:44 +01:00
R David Murray
dd6ab85384 #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:26:02 -04:00
Ezio Melotti
c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
Alexander Belopolsky
bd584d21e7 Merged revisions 87463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87463 | alexander.belopolsky | 2010-12-23 19:24:11 -0500 (Thu, 23 Dec 2010) | 1 line

  Issue #9063: Corrected the tzinfo example.
........
2010-12-24 00:27:27 +00:00
Sean Reifscheider
b2efeff4a5 Fixing the file call in the rfc822.Message replacement example. 2010-03-20 00:05:42 +00:00
Sean Reifscheider
95ce1fcf8b Adding an example of reproducing the rfc822.Message() parsing. 2010-03-19 23:19:55 +00:00
Benjamin Peterson
9cf41d0c9d normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
Gerhard Häring
3bbb67273a Merged code from pysqlite 2.6.0. 2010-03-05 09:12:37 +00:00
Andrew M. Kuchling
fe6f07c0ac #7637: avoid repeated-concatenation antipattern in example 2010-03-01 20:11:57 +00:00
Jesse Noller
6c3767445c issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing. 2009-11-21 14:01:56 +00:00
Georg Brandl
d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Georg Brandl
c1edec3374 Use the preferred form of raise statements in the docs. 2009-06-03 07:25:35 +00:00
Georg Brandl
498a9b3491 #6055: refer to "sqlite3" consistently. 2009-05-20 18:31:14 +00:00
Georg Brandl
b581804d69 #3320: fix spelling. 2009-04-25 14:50:25 +00:00
Jeroen Ruigrok van der Werven
a2dce5a9ee Issue #4239: adjust email examples not to use connect() and terminate with
quit() and not close().
2009-04-25 12:49:10 +00:00
Benjamin Peterson
a7b55a33f8 revert r69777 since all the experts agree that extra import lines distract from the code 2009-02-20 03:31:23 +00:00
Jeroen Ruigrok van der Werven
5149742e8b Since we recommend one module per import line, reflect this also in the
documentation.
2009-02-19 18:52:21 +00:00
Georg Brandl
69bd8d2189 Set eol-style correctly for mp_distributing.py. 2009-01-03 19:10:12 +00:00
Christian Heimes
eac8071e16 Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5 2008-11-28 19:33:33 +00:00