aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Minor C API documentation improvements. (GH-17696)William Ayd2019-12-241-1/+1
| | | | | | | The added parentheses around the PyIter_Next assignment suppress the following warning which gcc throws without: ``` warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ``` The other change is a typo fix
* bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162)Andrey Doroschenko2019-11-153-3/+3
|
* bpo-26868: Fix example usage of PyModule_AddObject. (#15725)Brandt Bucher2019-09-125-5/+30
| | | | | | | | | | | | | | | | * Add a note to the PyModule_AddObject docs. * Correct example usages of PyModule_AddObject. * Whitespace. * Clean up wording. * 📜🤖 Added by blurb_it. * First code review. * Add < 0 in the tests with PyModule_AddObject
* bpo-36261: Improve example of the preamble field in email docs (GH-14751)Carl Bordum Hansen2019-07-141-1/+1
|
* bpo-36974: document PEP 590 (GH-13450)Jeroen Demeyer2019-06-031-1/+1
|
* bpo-34580: Update sqlite3 examples to call close() explicitly (GH-9079)Xtreak2019-05-2025-18/+47
| | | | | The sqlit3.Connection object doesn't call its close() method when it's used as a context manager.
* Doc: define PY_SSIZE_T_CLEAN always (GH-12794)Inada Naoki2019-04-136-0/+6
|
* bpo-24937: Replace the extension module porting HOWTO by links to external ↵Petr Viktorin2018-09-241-134/+0
| | | | projects (GH-9317)
* Removed unused import from tzinfo_examples.py. (GH-7994)Sergey Fedoseev2018-07-041-1/+1
|
* bpo-33958: Doc: Remove unused variable in example (GH-7927)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-281-1/+1
|
* bpo-33201: Modernize "Extension types" doc (GH-6337)Antoine Pitrou2018-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
* 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.