summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #23758: Improve num_params docs of create_{function,aggregate} functionsBerker Peksag2016-03-271-3/+5
| | | | | | | | If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier.
* Document sqlite3.Cursor.close()Berker Peksag2016-03-271-0/+6
| | | | | | | The behaviour of the close method is tested by ClosedCurTests in Lib/sqlite3/test/dbapi.py. This is basically a backport of https://github.com/ghaering/pysqlite/issues/73.
* sqlite3 documentation: Connection.iterdump() is a methodBerker Peksag2016-03-271-2/+2
|
* Issue #25654:Victor Stinner2016-03-251-1/+1
| | | | | | | | | * multiprocessing: open file with closefd=False to avoid ResourceWarning * _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a previous test forgot to remove TESTFN) * test_sys_exit(): remove TESTFN after each loop iteration Initial patch written by Serhiy Storchaka.
* Issue #26525: Change chr example to match change in ord example.Terry Jan Reedy2016-03-231-1/+1
|
* Issue #26525: Change ord example from nu to more easily recognized Euro sign.Terry Jan Reedy2016-03-211-2/+2
|
* Issue #15660: Further clarify 0 prefix for width specifier in formats.Terry Jan Reedy2016-03-211-2/+4
|
* #26250: document the sqlite3.Cursor.connection attribute. Initial patches ↵Ezio Melotti2016-03-181-0/+12
| | | | by Aviv Palivoda and Varpu Rantala.
* Fixed a typo.Serhiy Storchaka2016-03-181-1/+1
|
* Issue #26580: Remove outdated reference to ftpmirrorBerker Peksag2016-03-181-6/+0
| | | | Patch by SilentGhost.
* Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent GhostMartin Panter2016-03-171-0/+4
|
* Minor recipe edit: convert "while 1" to "while True".Raymond Hettinger2016-03-131-1/+1
|
* #25687: clarify that errors in tearDown increase the total number of ↵Ezio Melotti2016-03-131-4/+6
| | | | reported errors. Initial patch by HyeSoo Park.
* Issue #26548: Minor fix to awkward wording in docsRaymond Hettinger2016-03-131-2/+2
|
* Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.Steve Dower2016-03-121-0/+6
|
* Issue #26542: Fix markup of code example in difflib documentationBerker Peksag2016-03-111-5/+3
| | | | Patch by Dmitry Shachnev.
* Issue #15068: Got rid of excessive buffering in the fileinput module.Serhiy Storchaka2016-03-081-1/+7
| | | | The bufsize parameter is no longer used.
* Issue #21034: Remove outdated paragraph from venv documentationBerker Peksag2016-03-071-5/+0
| | | | | Since Python 3.4, there is no need to install pip and setuptools into a venv manually.
* Document another recipe for itertools: all_equal(). Inspired by David Beazley.Raymond Hettinger2016-03-071-0/+5
|
* Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-2635-127/+124
| | | | to SilentGhost for the patch.
* Closes #26442: fix copy-paste.Georg Brandl2016-02-261-1/+1
|
* Closes #26444: typo fixes.Georg Brandl2016-02-261-7/+7
|
* Issue #26390: Fix and test pbkdf2_hmac() parameter namesMartin Panter2016-02-221-6/+7
| | | | Based on patch by Daan Bakker.
* Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.Georg Brandl2016-02-257-15/+16
|
* Issue #22088: Clarify base-64 alphabets and which characters are discardedMartin Panter2016-02-231-13/+16
| | | | | | | | | | * There are only two base-64 alphabets defined by the RFCs, not three * Due to the internal translation, plus (+) and slash (/) are never discarded * standard_ and urlsafe_b64decode() discard characters as well Also update the doc strings to clarify data types, based on revision 92760d2edc9e, correct the exception raised by b16decode(), and correct the parameter name for the base-85 functions.
* Issue #26261: Clarify NamedTemporaryFile name attribute vs file.nameMartin Panter2016-02-221-1/+2
|
* Fix errors in XML-RPC client example codeMartin Panter2016-02-221-4/+4
| | | | | | | * http.client.HTTP (does not exist in Python 3) → HTTPConnection * Server (deprecated) → ServerProxy * Transport.send_request() grew a new “debug” parameter in Python 3 (revision a528f7f8f97a)
* Issue #26401: Fix compile() documentationBerker Peksag2016-02-211-1/+5
| | | | | | | After 25032ec29315, compile() will raise a ValueError if source contains null bytes. Patch by SilentGhost.
* List what classes from importlib.machinery don't work with ↵Brett Cannon2016-02-211-1/+2
| | | | importlib.util.LazyLoader
* Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-191-10/+17
| | | | | | | | * The Windows-specific binary notice was probably a Python 2 thing * Make it more obvious gettarinfo() is based on stat(), and that non-ordinary files may need special care * The file name must be text; suggest dummy arcname as a workaround * Indicate TarInfo may be used directly, not just via gettarinfo()
* Closes #20169: fix inner links random doc.Georg Brandl2016-02-191-6/+6
|
* Issue #15608: Improve socketserver module documentationMartin Panter2016-02-191-154/+202
| | | | | | | | | | | * Add headings for each concrete and mix-in class and list methods and attributes under them * Fix class and method cross references * Changed RequestHandler to BaseRequestHandler and added class heading * Pull out Stream/DatagramRequestHandler definitions * Reordered the request handler setup(), handle(), finish() methods * Document constructor parameters for the server classes * Remove version 2.6 not relevant for Python 3 documentation
* Issue #16915: Clarify that mode parameter of socket.makefile() does not acceptBerker Peksag2016-02-181-1/+2
| | | | the same values as open().
* Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.Ned Deily2016-02-161-1/+1
|
* Hopefully clarify the difference between Optional[t] and an optional argument.Guido van Rossum2016-02-101-0/+7
|
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-107-26/+26
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Issues #26310, #26311: Fix typos in the documentation and code commentsMartin Panter2016-02-102-3/+3
|
* Clarify "cardinality of" as "number of elements in" as many readers doGregory P. Smith2016-02-081-1/+1
| | | | not have a math vocabulary.
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-086-24/+27
| | | | | | | | | * Various sections were pointing to the section on the string.Formatter class, when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested; see Issue #19729 for instance
* Fix typo.Zachary Ware2016-02-021-1/+1
| | | | Reported by Jon Tetlak on docs@
* Issue #26244: Clarify default zlib compression level in documentationMartin Panter2016-02-031-3/+4
| | | | Based on patch by Aviv Palivoda.
* Issue #26194: Inserting into a full deque to raise an IndexErrorRaymond Hettinger2016-02-021-2/+2
|
* Enhance os.scandir() docVictor Stinner2016-01-311-35/+38
| | | | | | | | | | | | | | Issue #26248, patch written by Ben Hoyt: 1) Clarify that the return values of is_dir()/is_file()/etc are cached separately for follow_symlinks True and False. 2) Be more specific about when the functions require a system call, and how it relates to caching and follow_symlinks. 3) DRY up common stuff between is_dir and is_file by saying "Caching, system calls made, and exceptions raised are as per is_dir" in is_file. 4) Tweak to the first paragraph of docs for is_dir/is_file to simplify: assume the follow_symlinks=True default, then note the follow_symlinks=False non-default case after.
* Issue #26242: Fix another one in importlib.rstBerker Peksag2016-01-301-1/+1
|
* Fix a markup error in socket.rstBerker Peksag2016-01-301-1/+1
|
* Issue #19023: Document ctypes array and pointer classesMartin Panter2016-01-291-4/+54
| | | | Also add some more tests. Based on patch by Sye van der Veen.
* Issue #26199: Fix broken link in unittest.mock-examples.rstBerker Peksag2016-01-281-1/+1
| | | | Patch by Raphael Das Gupta.
* Issue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlenRaymond Hettinger2016-01-271-0/+3
|
* Fix a typo in a code exampleBrett Cannon2016-01-221-1/+1
|
* minor clarification on Zipfile 'x' mode - exclusive creation of a file.Senthil Kumaran2016-01-221-2/+2
|