summaryrefslogtreecommitdiff
path: root/Doc/library/functions.rst
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Builtins functions: faster jump table (GH-21376)Julien Palard2020-07-091-18/+32
|
* Fix typo in functions.rst (GH-21131)Ram Rachum2020-06-251-1/+1
|
* bpo-40636: Documentation for zip-strict (#20961)Ram Rachum2020-06-191-44/+84
|
* Indicate that abs() method accept argument that implement __abs__(), just ↵Windson yang2020-05-291-3/+2
| | | | like call() method in the docs (GH-20509)
* Fix "versionchanged" for pow named arguments (GH-19042)Mark Dickinson2020-03-191-1/+1
| | | The ability to use named arguments in "pow" was introduced in Python 3.8, not Python 3.9. See https://bugs.python.org/issue38237
* bpo-38691: importlib ignores PYTHONCASEOK if -E is used (GH-18627)idomic2020-03-091-0/+3
| | | | | The importlib module now ignores the PYTHONCASEOK environment variable when the -E or -I command line options are being used.
* bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode ↵Victor Stinner2020-03-041-4/+10
| | | | | | | (GH-16959)" (GH-18767) This reverts commit e471e72977c83664f13d041c78549140c86c92de. The mode will be removed from Python 3.10.
* Revert "bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags ↵Victor Stinner2020-02-191-3/+0
| | | | | passed (#18314)" (GH-18553) This reverts commit d83b6600b25487e4ebffd7949d0f478de9538875.
* bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed ↵idomic2020-02-171-0/+3
| | | | | | | | | | | | | | | | | | | | | (#18314) * Hard reset + cherry piciking the changes. * 📜🤖 Added by blurb_it. * Added @vstinner News * Update Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst Co-Authored-By: Victor Stinner <vstinner@python.org> * Hard reset to master * Hard reset to master + latest changes Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-12159: Document sys.maxsize limit in len() function reference (GH-17934)Zac Hatfield-Dodds2020-01-121-0/+5
|
* bpo-34118: memoryview, range, and tuple are classes (GH-17761)Terry Jan Reedy2019-12-301-3/+3
| | | | Tag memoryview, range, and tuple as classes, the same as list, etcetera, in the library manual built-in functions list.
* Update functions.rst (GH-16468)Géry Ogam2019-11-201-2/+2
| | | | | | | This PR will make the following changes to the [_Built-in Functions_](https://docs.python.org/3/library/functions.html) chapter of the library documentation: - improve hyperlinks in Sphinx roles (trailing 's' belong to hyperlinks). Automerge-Triggered-By: @csabella
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-6/+6
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* bpo-37330: open() no longer accept 'U' in file mode (GH-16959)Victor Stinner2019-10-281-10/+4
| | | | | open(), io.open(), codecs.open() and fileinput.FileInput no longer accept "U" ("universal newline") in the file mode. This flag was deprecated since Python 3.3.
* bpo-38255: super() can search attributes as well as methods (GH-16368)Raymond Hettinger2019-09-251-0/+4
| | | Improvement suggested by Géry Ogam.
* bpo-38237: Make pow's arguments have more descriptive names and be keyword ↵Ammar Askar2019-09-201-9/+15
| | | | | | | | | | | | passable (GH-16302) Edit: `math.pow` changes removed on Mark's request. https://bugs.python.org/issue38237 Automerge-Triggered-By: @rhettinger
* bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)smokephil2019-09-111-1/+1
|
* Correct minor grammatical mistake in open docs (GH-15865)Andre Delfino2019-09-101-2/+2
|
* Note regarding + mode truncation applies to both text and binary mode (#11314)Andre Delfino2019-09-101-3/+3
| | | | | | | | * Improve doc on open's mode + * Improve wording * Address comment from Rémi
* bpo-23674: Clarify ambiguities in super() docs (#15564)Raymond Hettinger2019-08-291-3/+10
|
* bpo-19072: Make @classmethod support chained decorators (GH-8405)Berker Peksag2019-08-241-2/+4
|
* bpo-37646: Document that eval() cannot access nested scopes (GH-15117)Raymond Hettinger2019-08-061-6/+10
|
* 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-061-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-021-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-281-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-231-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-231-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.