Marco Buttu
909a6f626f
bpo-27200: Fix doctests in programming.rst and datetime.rst ( #401 )
9 years ago
INADA Naoki
fb8fe72fc5
doc: fix compile error on "shoddy" example extension (GH-215)
9 years ago
R David Murray
1ba3e6dab1
#24277 : Fix some incorrect backslashes in email example.
9 years ago
R David Murray
29d1bc0842
#24277 : The new email API is no longer provisional.
This is a wholesale reorganization and editing of the email documentation to
make the new API the standard one, and the old API the 'legacy' one. The
default is still the compat32 policy, for backward compatibility. We will
change that eventually.
9 years ago
Alexander Belopolsky
53868aaabb
Closes #27595 : Document PEP 495 (Local Time Disambiguation) features.
9 years ago
R David Murray
7a139c50db
#26176 : fix usage of Address constructor in email examples.
Patch by Nathan Harold.
10 years ago
Serhiy Storchaka
885bdc4946
Issue #25985 : sys.version_info is now used instead of sys.version
to format short Python version.
10 years ago
Martin Panter
b4ce1fc31b
Issue #5319 : New Py_FinalizeEx() API to exit with status 120 on failure
10 years ago
Yury Selivanov
beaa5094a2
docs: Better comment for tp_as_async slot
11 years ago
Martin Panter
78d5033337
Issue #24808 : Update the documentation of some PyTypeObject fields
Patch by Joseph Weston.
11 years ago
Yury Selivanov
7544508f02
PEP 0492 -- Coroutines with async and await syntax. Issue #24017 .
11 years ago
Serhiy Storchaka
009b811d67
Removed unintentional trailing spaces in non-external and non-generated C files.
11 years ago
Berker Peksag
f9e3cf1f9f
Issue #23511 : Port email-simple.py to Python 3.
Also, update email examples to use the context manager version of open().
Patch by Baptiste Mispelon.
11 years ago
Georg Brandl
e73778c1ac
Use https:// URLs when referring to python.org hosts.
11 years ago
Victor Stinner
25e014bd91
Issue #18395 , #22108 : Update embedded Python examples to decode correctly
command line parameters: use Py_DecodeLocale() and PyUnicode_DecodeFSDefault().
12 years ago
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
12 years ago
R David Murray
b69c0c16cd
whatsnew: final edit pass.
12 years ago
R David Murray
02384bfa94
#20477 : add examples of using the new contentmanager API.
12 years ago
Serhiy Storchaka
992cf1dd59
Issue #18972 : Modernize email examples and use the argparse module in them.
12 years ago
Richard Oudkerk
84ed9a68bd
Issue #8713 : Support alternative start methods in multiprocessing on Unix.
See http://hg.python.org/sandbox/sbt#spawn
13 years ago
Antoine Pitrou
796564c27b
Issue #18112 : PEP 442 implementation (safe object finalization).
13 years ago
Andrew Svetlov
1625d88709
Issue #16341 : convert examples to use except ... as ... syntax.
13 years ago
Victor Stinner
fe98e2fc83
Issue #14428 : Use the new time.perf_counter() and time.process_time() functions
* Replace "time.clock on windows, or time.time" with time.perf_counter()
* profile module: only use time.process_time() instead of trying different
functions providing the process time
* timeit module: use time.perf_counter() by default, time.time() and
time.clock() can still be used using --time and --clock options
* pybench program: use time.perf_counter() by default, add support for
the new time.process_time() and time.perf_counter() functions, but stay
backward compatible. Use also time.get_clock_info() to display information
of the timer.
14 years ago
Larry Hastings
62417a0354
Propagate changes for issues #13053 and #13086 from 2.7 to 3.2. (Doc only.)
14 years ago
Petri Lehtinen
002b202009
Fix errors in sqlite3's Cursor.rowcount documentation
Closes #13995 .
14 years ago
Petri Lehtinen
b3890226b3
sqlite3: Fix documentation errors concerning Cursor.rowcount
Closes #13995 .
14 years ago
Petri Lehtinen
1ca93954e1
Issue #13491 : Fix many errors in sqlite3 documentation
Initial patch by Johannes Vogel.
14 years ago
Petri Lehtinen
bc35bebb45
Undocument and clean up sqlite3.OptimizedUnicode
Closes #13921 .
14 years ago
Petri Lehtinen
a15a8d2a0c
sqlite3: Port relevant documentation changes from 3.2
Initial patch by Johannes Vogel. Issue #13491 .
14 years ago
Amaury Forgeot d'Arc
864741b2c7
Issue #13350 : Replace most usages of PyUnicode_Format by PyUnicode_FromFormat.
14 years ago
Sandro Tosi
567493fe26
caught is the right pp of catch; thanks to Don Bennett from docs@
14 years ago
Sandro Tosi
f45501d8f8
caught is the right pp of catch; thanks to Don Bennett from docs@
14 years ago
Larry Hastings
fc45bbaccc
Issue #13053 : Added section on migrating from CObject to Capsule
to howto/cporting.rst.
14 years ago
Eli Bendersky
47fe5c0d51
Issue #12672 : fix code samples in extending/newtypes.html for PEP-7 compliance
15 years ago
R David Murray
bb754b503c
#11883 : fix email examples by adding 'localhost' to SMTP constructor calls
15 years ago
R David Murray
dd6ab85384
#11883 : fix email examples by adding 'localhost' to SMTP constructor calls
15 years ago
R David Murray
7461298c9c
#11883 : replace incorrect call to sendmail with correct call to send_message
15 years ago
Raymond Hettinger
40fc59d98b
Issue 11929: Minor whitespace clean-ups.
15 years ago
Ezio Melotti
c2077b0d9b
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
15 years ago
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
15 years ago
Alexander Belopolsky
5512f32d91
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.
........
15 years ago
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.
........
15 years ago
Alexander Belopolsky
b2eacd9129
Issue #9063 : Corrected the tzinfo example.
15 years ago
Éric Araujo
da825ab2dd
Merged revisions 86670 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86670 | eric.araujo | 2010-11-22 04:09:19 +0100 (lun., 22 nov. 2010) | 5 lines
Remove unnecessary `object` base class in docs (#10366 ).
Also add a note about inheritance from `object` being default.
........
15 years ago
Éric Araujo
28053fb174
Remove unnecessary `object` base class in docs ( #10366 ).
Also add a note about inheritance from `object` being default.
15 years ago
R. David Murray
8b9f0c5a10
Fix email doc update I overlooked (thanks, Éric)
15 years ago
Alexander Belopolsky
14fb79977b
Issue #7061 : Added a 'Turtle star' sidebar
15 years ago
R. David Murray
7dff9e08fb
#10321 : Add support for sending binary DATA and Message objects to smtplib
15 years ago
Senthil Kumaran
c961322f4f
Syntax fixes for examples in the Doc/includes
15 years ago
Georg Brandl
2ee18c6ca6
Merged revisions 78559,78561-78562 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78559 | andrew.kuchling | 2010-03-01 20:45:21 +0100 (Mo, 01 Mär 2010) | 1 line
#7637 : update discussion of minidom.unlink() and garbage collection
........
r78561 | andrew.kuchling | 2010-03-01 20:51:43 +0100 (Mo, 01 Mär 2010) | 1 line
#7191 : describe more details of wbits parameter
........
r78562 | andrew.kuchling | 2010-03-01 21:11:57 +0100 (Mo, 01 Mär 2010) | 1 line
#7637 : avoid repeated-concatenation antipattern in example
........
16 years ago