summaryrefslogtreecommitdiffstats
path: root/Doc/includes
Commit message (Collapse)AuthorAgeFilesLines
* gh-82530: Create blank function instead of invalid import for email example ↵Miss Islington (bot)2022-09-261-5/+9
| | | | | | | | (GH-97529) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 2b428a1faed88f148ede131e3b86ab6227c6c3f0) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.10] gh-96414: Inline code examples in sqlite3 docs (GH-96442). (#96453)Erlend E. Aasland2022-08-3112-270/+0
| | | | | | * [3.10] gh-96414: Inline code examples in sqlite3 docs (GH-96442). (cherry picked from commit f7e7bf161aaec5a5cffdcec7c97e1f09e445421b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (GH-96122)Miss Islington (bot)2022-08-221-14/+0
| | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 18b1782192f85bd26db89f5bc850f8bee4247c1a) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
* [3.10] gh-95273: Improve sqlite3.complete_statement docs (GH-95840) (#95918)Erlend E. Aasland2022-08-121-30/+0
| | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit e6623e7083ce08a247e5df169bcc749f99327823) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-95273: Condense sqlite3 executescript example (GH-95383) (#95419)Miss Islington (bot)2022-07-291-25/+0
| | | | | (cherry picked from commit e9c8de669d40d993489981be2973d1ea5bd10d0c) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* gh-95273: Move sqlite3 executemany examples from reference to tutorial ↵Miss Islington (bot)2022-07-292-43/+0
| | | | | | | (GH-95351) (cherry picked from commit f0bf7956e60b452208f279146f928d71eb0aa11b) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* [3.10] gh-90016: Reword sqlite3 adapter/converter docs (GH-93095) (#94273)Erlend Egeberg Aasland2022-06-252-31/+7
| | | | | | | Also add adapters and converter recipes. Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com. (cherry picked from commit bd3c1c187e0e4fde5aec6835d180e9eddde8ceb6)
* [3.10] gh-91118: Fix docstrings that do not honor --without-doc-strings ↵Oleg Iarygin2022-04-195-5/+5
| | | | | | | | | (GH-31769) (#91662) Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit a573cb2fec664c645ab744658d7e941d72e1a398) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* sqlite3: Modernize documentation around unicode and bytes. (GH-28652) (GH-28694)Miss Islington (bot)2021-10-051-2/+2
| | | | | (cherry picked from commit 1dac95c814763eb8a53896ac4326d8d51895d43d) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-44106: Purge unused sqlite3 doc includes (GH-26234)Miss Islington (bot)2021-05-198-138/+0
| | | | | (cherry picked from commit d798acc8733b605f7fc9c3c1a85cd14ee2a56add) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-44106: Improve sqlite3 example database contents (GH-26027)Miss Islington (bot)2021-05-198-40/+36
| | | | | (cherry picked from commit 92d1064727d6b7f4136f9c09ab52ae15e3676afe) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-43908: Document Static Types in the C API (GH-25710)Victor Stinner2021-04-291-1/+4
| | | Update also PyTypeObject structure definition in the doc.
* bpo-20364: Improve sqlite3 placeholder docs (GH-25003)Erlend Egeberg Aasland2021-04-141-8/+13
|
* Minor C API documentation improvements. (GH-17696)William Ayd2019-12-251-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-021-1/+1
|
* bpo-34580: Update sqlite3 examples to call close() explicitly (GH-9079)Xtreak2019-05-1925-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-051-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-041-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-081-2/+2
|
* #24277: The new email API is no longer provisional.R David Murray2016-09-088-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-121-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-161-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().