summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-37390: Add audit event table to documentations (GH-14406)Steve Dower2019-06-271-7/+7
| | | Also updates some (unreleased) event names to be consistent with the others.
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-241-6/+8
|
* bpo-37134: Use PEP570 syntax for sum() (GH-13851)Pablo Galindo2019-06-051-3/+3
|
* bpo-36027: Extend three-argument pow to negative second argument (GH-13266)Mark Dickinson2019-06-021-3/+18
|
* bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108)Serhiy Storchaka2019-06-011-2/+19
|
* bpo-31968: Documentation -- add clarification on the globals dict for exec() ↵Anthony Shaw2019-06-011-1/+2
| | | | (GH-13140)
* bpo-36842: Implement PEP 578 (GH-12613)Steve Dower2019-05-231-0/+31
| | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
* bpo-34616: Add PyCF_ALLOW_TOP_LEVEL_AWAIT to allow top-level await (GH-13148)Matthias Bussonnier2019-05-211-0/+10
| | | Co-Authored-By: Yury Selivanov <yury@magic.io>
* bpo-32413: Add documentation that at the module level, locals(), globals() ↵Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2019-04-021-1/+2
| | | | | are the same dictionary (GH-5004) https://bugs.python.org/issue32413
* bpo-34085: Improve wording on classmethod/staticmethod (#8228)Andre Delfino2019-03-251-12/+10
| | | | | | | | * bpo-34085: Improve wording on classmethod/staticmethod * Address comments from Éric * Address comments from Éric
* bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)Lysandros Nikolaou2019-03-101-0/+5
|
* Doc: fix example for iter() function. (GH-11959)Cristian Ciupitu2019-02-211-1/+1
| | | | | read() returns bytes for a file opened in binary mode, so b'' should be used as a sentinel instead of ''. Otherwise the loop will be infinite.
* Clarify U-mode deprecation in open() (GH-11646)Nick Coghlan2019-01-271-1/+8
| | | | | | | | | | The previous wording could be read as saying that universal newlines mode itself was deprecated, when it's only the 'U' character in the mode field that should be avoided. The update also moves the description of the 'U' mode character out of the mode table, as the longer explanation was overly intrusive as a table entry and overshadowed the actually useful mode characters.
* bpo-34764: improve docs example of iter() with sentinel value (GH-11222)Chris Rands2018-12-241-7/+8
|
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-191-1/+1
|
* fix dangling keyfunc examples in documentation of heapq and sorted (#1432)Wolfgang Maier2018-10-151-2/+2
| | | | | | * fix dangling mention of key=str.lower in heapq doc * Fix dangling mention of keyfunc example for sorted()
* bpo-34637: Make the *start* argument for *sum()* visible as a keyword ↵Raymond Hettinger2018-09-121-0/+3
| | | | argument. (GH-9208)
* bpo-34434: Update doc for bool(), float() and int() arguments (GH-8834)Louis Sautier2018-08-271-1/+9
|
* bpo-22057: Clarify eval() documentation (GH-8812)Berker Peksag2018-08-191-2/+4
| | | | | | | | | | | | If a globals dictionary without a '__builtins__' key is passed to eval(), a '__builtins__' key will be inserted to the dictionary: >>> eval("print('__builtins__' in globals())", {}) True (As a result of this behavior, we can use the builtins print() and globals() even if we passed a dictionary without a '__builtins__' key to eval().)
* bpo-34149: Behavior of the min/max with key=None (GH-8328)Alexander Marshalov2018-07-241-0/+6
| | | Improve consistency with the signature for sorted(), heapq.nsmallest(), heapq.nlargest(), and itertools.groupby().
* Doc: Point to Simple statements section instead of PEP (GH-8238)Andrés Delfino2018-07-111-2/+2
|
* classify abs() argument type (GH-8103)Windson yang2018-07-051-1/+2
|
* Fix the indentation in the documentation of bin() and hash() (GH-7998)Andrés Delfino2018-06-291-5/+5
|
* bpo-33943: Add references in the docs for logging.basicConfig (GH-7858)Andrés Delfino2018-06-251-0/+5
| | | | Adds references to info about file modes, `time.strftime()`, string formatting syntaxes, and logging levels.
* bpo-30940: Updating round() docs. (GH-6342)Lisa Roach2018-05-201-4/+5
|
* bpo-26701: Tweak the documentation for special methods in int(). (GH-6741)Serhiy Storchaka2018-05-101-8/+6
|
* Fix superfluous if in documentation. (GH-6728)Julien Palard2018-05-091-1/+1
|
* bpo-26701: Add documentation for __trunc__ (GH-6022)Eric Appelt2018-03-101-2/+5
| | | | `int` fails back to `__trunc__` is `__int__` isn't defined, so cover that in the docs.
* Warn that compile() can crash when compiling to an AST object (GH-6043)Brett Cannon2018-03-091-0/+6
|
* Fix minor markup typo (#5407)cocoatomo2018-01-291-1/+1
|
* bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966)Éric Araujo2017-10-121-2/+11
|
* bpo-31567: add or fix decorator markup in docs (#3959)Daisuke Miyakawa2017-10-121-4/+4
|
* PEP 553 built-in breakpoint() function (bpo-31353) (#3355)Barry Warsaw2017-10-051-17/+31
| | | Implement PEP 553, built-in breakpoint() with support from sys.breakpointhook(), along with documentation and tests. Closes bpo-31353
* Doc that 'sorted' args are keyword-only, fix 'reverse' default (#2706)Łukasz Rogalski2017-07-141-1/+1
|
* bpo-26506: hex() documentation: mention %x % int (GH-2525)Manvisha Kodali2017-07-061-10/+52
|
* bpo-27200: Fix several doctests (GH-604)Marco Buttu2017-04-271-1/+1
|
* bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271)csabella2017-04-261-3/+6
| | | | | | | | | | Builtin container types have two potential link targets in the docs: - their entry in the list of builtin callables - their type documentation This change brings `bytes` and `bytearray` into line with other container types by having cross-references default to linking to their type documentation, rather than their builtin callable entry.
* Fix a typo in Doc/library/functions.rst (GH-1117)Joshua Diaddigo2017-04-131-1/+1
| | | Replace `For object's ... ` with `For objects ...`
* bpo-29791: Clarify that flush is keyword-only argument (#1093)Berker Peksag2017-04-131-1/+1
| | | Reported by Lucio Ricardo Montero Valenzuela.
* bpo-29677: DOC: clarify documentation for `round` (GH-877)csabella2017-03-291-3/+6
|
* bpo-29677: DOC: clarify documentation for `round` (#357)Gerrit Holl2017-03-271-1/+2
| | | | | | | | | | * DOC: clarify documentation for `round` Clarified that `round` can take a negative value for *ndigits*. * DOC: remove trailing whitespace in previous commit remove trailing whitespace in previous commit
* bpo-29892: Fix wrong markup on doc-lib-functions (GH-802)NAKAMURA Osamu2017-03-251-1/+1
|
* Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-261-1/+1
|\ | | | | | | in the documentation.
| * Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-261-1/+1
| | | | | | | | in the documentation.
* | Merge doc fixups from 3.5Martin Panter2016-11-211-1/+1
|\ \ | |/
| * Change double hyphens (en dashes) to em (longer) dashesMartin Panter2016-11-211-1/+1
| |
* | Issue #26331: Implement the parsing part of PEP 515.Brett Cannon2016-09-091-3/+13
| | | | | | | | Thanks to Georg Brandl for the patch.
* | Issue #1602: Windows console doesn't input or print Unicode (PEP 528)Steve Dower2016-08-311-16/+24
| | | | | | | | Closes #17602: Adds a readline implementation for the Windows console
* | Issue #26027, #27524: Document the support for path-like objects in os and ↵Brett Cannon2016-09-061-5/+5
| | | | | | | | | | | | os.path. This completes PEP 519.
* | MergeRaymond Hettinger2016-09-041-2/+2
|\ \ | |/