summaryrefslogtreecommitdiff
path: root/Doc/includes
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34580: Update sqlite3 examples to call close() explicitly (GH-9079)Miss Islington (bot)2019-05-2025-18/+47
| | | | | | | | The sqlite3.Connection object doesn't call its close() method when it's used as a context manager. (cherry picked from commit 287b84de939db47aa8c6f30734ceb8aba9d1db29) Co-authored-by: Xtreak <tir.karthi@gmail.com>
* Doc: define PY_SSIZE_T_CLEAN always (GH-12794)Miss Islington (bot)2019-04-126-0/+6
| | | | | (cherry picked from commit c88feceb449d6e85d7e17ec36559206094d10d81) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Removed unused import from tzinfo_examples.py. (GH-7994)Miss Islington (bot)2018-07-041-1/+1
| | | | | (cherry picked from commit 3a9bb5f269c8534606eb02d1faa2c882d8cb8530) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
* bpo-33958: Doc: Remove unused variable in example (GH-7927)Miss Islington (bot)2018-06-271-1/+1
| | | | | (cherry picked from commit 62b6cea6b843076cfd6631eccd9347e8c3dd9458) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com>
* bpo-33201: Modernize "Extension types" doc (GH-6337) (GH-6411)Miss Islington (bot)2018-04-0711-892/+716
| | | | | | | | | | | * bpo-33201: Modernize "Extension types" doc * Split tutorial and other topics * Some small fixes * Address some review comments * Rename noddy* to custom* and shoddy to sublist * Fix markup (cherry picked from commit 1d80a561734b9932961c546b0897405a3bfbf3e6) Co-authored-by: Antoine Pitrou <pitrou@free.fr>
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
| | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
* bpo-32150: Expand tabs to spaces in C files. (#4583)Serhiy Storchaka2017-11-281-1/+1
|
* bpo-31923: Fix spelling in sqlite3 docs (GH-4227)davy wybiral2017-11-051-1/+1
|
* Update Email library documentation example (GH-3720)Henk-Jaap Wagenaar2017-09-241-1/+1
| | | A `"` was missing from an `<a href>` tag.
* bpo-31443: Update included code. (#3697)Stefan Krah2017-09-221-1/+17
|
* bpo-31095: fix potential crash during GC (GH-2974)INADA Naoki2017-08-241-0/+1
|
* bpo-27200: Fix doctests in programming.rst and datetime.rst (#401)Marco Buttu2017-03-181-0/+0
|
* doc: fix compile error on "shoddy" example extension (GH-215)INADA Naoki2017-02-212-1/+2
|
* #24277: Fix some incorrect backslashes in email example.R David Murray2016-09-071-2/+2
|
* #24277: The new email API is no longer provisional.R David Murray2016-09-078-160/+94
| | | | | | | 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.
* Closes #27595: Document PEP 495 (Local Time Disambiguation) features.Alexander Belopolsky2016-08-241-62/+68
|
* Merge: #26176: fix usage of Address constructor in email examples.R David Murray2016-07-101-3/+3
|\
| * #26176: fix usage of Address constructor in email examples.R David Murray2016-07-101-3/+3
| | | | | | | | Patch by Nathan Harold.
* | Issue #25985: sys.version_info is now used instead of sys.versionSerhiy Storchaka2016-02-111-1/+1
| | | | | | | | to format short Python version.
* | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failureMartin Panter2015-11-301-1/+3
|/
* docs: Better comment for tp_as_async slotYury Selivanov2015-08-261-1/+2
|
* Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async fieldMartin Panter2015-08-251-8/+7
|\
| * Issue #24808: Update the documentation of some PyTypeObject fieldsMartin Panter2015-08-251-8/+7
| | | | | | | | Patch by Joseph Weston.
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-111-1/+1
| |
* | Removed unintentional trailing spaces in non-external and non-generated C files.Serhiy Storchaka2015-03-181-1/+1
| |
* | Issue #23511: Port email-simple.py to Python 3.Berker Peksag2015-02-254-10/+10
|\ \ | |/ | | | | | | | | Also, update email examples to use the context manager version of open(). Patch by Baptiste Mispelon.
| * Issue #23511: Port email-simple.py to Python 3.Berker Peksag2015-02-254-10/+10
| | | | | | | | | | | | Also, update email examples to use the context manager version of open(). Patch by Baptiste Mispelon.
* | Merge with 3.4Georg Brandl2014-10-291-2/+2
|\ \ | |/
| * Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-2/+2
| |
| * Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-151-1/+1
| |
* | Issue #18395, #22108: Update embedded Python examples to decode correctlyVictor Stinner2014-08-011-1/+1
| | | | | | | | command line parameters: use Py_DecodeLocale() and PyUnicode_DecodeFSDefault().
* | whatsnew: final edit pass.R David Murray2014-03-141-1/+1
|/
* #20477: add examples of using the new contentmanager API.R David Murray2014-02-072-0/+130
|
* Issue #18972: Modernize email examples and use the argparse module in them.Serhiy Storchaka2013-10-062-80/+51
|
* Issue #8713: Support alternative start methods in multiprocessing on Unix.Richard Oudkerk2013-08-146-862/+89
| | | | See http://hg.python.org/sandbox/sbt#spawn
* Issue #18112: PEP 442 implementation (safe object finalization).Antoine Pitrou2013-07-301-0/+7
|
* Issue #14428: Use the new time.perf_counter() and time.process_time() functionsVictor Stinner2012-04-291-5/+1
| | | | | | | | | | | | * 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.
* Merge: Propagate changes for issues #13053 and #13086 from 2.7 to 3.2.Larry Hastings2012-02-281-0/+134
|\ | | | | | | (Doc only.)
| * Propagate changes for issues #13053 and #13086 from 2.7 to 3.2. (Doc only.)Larry Hastings2012-02-281-0/+134
| |
* | Merge branch '3.2'Petri Lehtinen2012-02-161-2/+1
|\ \ | |/ | | | | Closes #13995.
| * sqlite3: Fix documentation errors concerning Cursor.rowcountPetri Lehtinen2012-02-161-2/+1
| | | | | | | | Closes #13995.
* | Merge branch '3.2'Petri Lehtinen2012-02-157-35/+23
|\ \ | |/ | | | | Issue #13491.
| * Issue #13491: Fix many errors in sqlite3 documentationPetri Lehtinen2012-02-157-46/+23
| | | | | | | | Initial patch by Johannes Vogel.
* | Undocument and clean up sqlite3.OptimizedUnicodePetri Lehtinen2012-02-091-11/+0
| | | | | | | | Closes #13921.
* | Issue #13350: Replace most usages of PyUnicode_Format by PyUnicode_FromFormat.Amaury Forgeot d'Arc2011-11-063-51/+3
| |
* | merge with 3.2Sandro Tosi2011-10-311-1/+1
|\ \ | |/
| * caught is the right pp of catch; thanks to Don Bennett from docs@Sandro Tosi2011-10-311-1/+1
| |
* | Issue #12672: fix code samples in extending/newtypes.html for PEP-7 complianceEli Bendersky2011-08-123-87/+81
|/
* Merge #11883: fix email examples by adding 'localhost' to SMTP constructor callsR David Murray2011-04-303-3/+3
|\
| * #11883: fix email examples by adding 'localhost' to SMTP constructor callsR David Murray2011-04-303-3/+3
| |