diff options
author | Ned Deily <nad@python.org> | 2017-09-18 23:04:41 -0400 |
---|---|---|
committer | Ned Deily <nad@python.org> | 2017-09-18 23:04:41 -0400 |
commit | 2f61f6417a4af3618d01ece70b152f677cb1bcbb (patch) | |
tree | a2b7740d6557cab356e0ced64c091a6e05f0fcea /Lib/pydoc_data/topics.py | |
parent | 8afd7ab12d7f8915b549cf04af384b495ec73d22 (diff) | |
download | cpython-git-2f61f6417a4af3618d01ece70b152f677cb1bcbb.tar.gz |
Update pydoc topics and NEWS blurbs for 3.6.3rc1
Diffstat (limited to 'Lib/pydoc_data/topics.py')
-rw-r--r-- | Lib/pydoc_data/topics.py | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 015afb30b4..deb540d526 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Sat Jun 17 04:32:54 2017 +# Autogenerated by Sphinx on Mon Sep 18 23:00:11 2017 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -8558,7 +8558,7 @@ topics = {'assert': 'The "assert" statement\n' '\n' 'The potential uses for metaclasses are boundless. Some ideas ' 'that have\n' - 'been explored include logging, interface checking, ' + 'been explored include enum, logging, interface checking, ' 'automatic\n' 'delegation, automatic property creation, proxies, ' 'frameworks, and\n' @@ -10332,27 +10332,22 @@ topics = {'assert': 'The "assert" statement\n' '*******************\n' '\n' 'Any object can be tested for truth value, for use in an "if" or\n' - '"while" condition or as operand of the Boolean operations below. ' - 'The\n' - 'following values are considered false:\n' - '\n' - '* "None"\n' - '\n' - '* "False"\n' + '"while" condition or as operand of the Boolean operations below.\n' '\n' - '* zero of any numeric type, for example, "0", "0.0", "0j".\n' - '\n' - '* any empty sequence, for example, "\'\'", "()", "[]".\n' + 'By default, an object is considered true unless its class defines\n' + 'either a "__bool__()" method that returns "False" or a "__len__()"\n' + 'method that returns zero, when called with the object. [1] Here ' + 'are\n' + 'most of the built-in objects considered false:\n' '\n' - '* any empty mapping, for example, "{}".\n' + '* constants defined to be false: "None" and "False".\n' '\n' - '* instances of user-defined classes, if the class defines a\n' - ' "__bool__()" or "__len__()" method, when that method returns the\n' - ' integer zero or "bool" value "False". [1]\n' + '* zero of any numeric type: "0", "0.0", "0j", "Decimal(0)",\n' + ' "Fraction(0, 1)"\n' '\n' - 'All other values are considered true --- so objects of many types ' - 'are\n' - 'always true.\n' + '* empty sequences and collections: "\'\'", "()", "[]", "{}", ' + '"set()",\n' + ' "range(0)"\n' '\n' 'Operations and built-in functions that have a Boolean result ' 'always\n' @@ -12401,7 +12396,7 @@ topics = {'assert': 'The "assert" statement\n' 'operations.\n' ' Lists also provide the following additional method:\n' '\n' - ' sort(*, key=None, reverse=None)\n' + ' sort(*, key=None, reverse=False)\n' '\n' ' This method sorts the list in place, using only "<" ' 'comparisons\n' |