Skip to content

Commit 2f61f64

Browse files
committed
Update pydoc topics and NEWS blurbs for 3.6.3rc1
1 parent 8afd7ab commit 2f61f64

File tree

123 files changed

+1274
-308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+1274
-308
lines changed

Lib/pydoc_data/topics.py

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Sat Jun 17 04:32:54 2017
2+
# Autogenerated by Sphinx on Mon Sep 18 23:00:11 2017
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -8558,7 +8558,7 @@
85588558
'\n'
85598559
'The potential uses for metaclasses are boundless. Some ideas '
85608560
'that have\n'
8561-
'been explored include logging, interface checking, '
8561+
'been explored include enum, logging, interface checking, '
85628562
'automatic\n'
85638563
'delegation, automatic property creation, proxies, '
85648564
'frameworks, and\n'
@@ -10332,27 +10332,22 @@
1033210332
'*******************\n'
1033310333
'\n'
1033410334
'Any object can be tested for truth value, for use in an "if" or\n'
10335-
'"while" condition or as operand of the Boolean operations below. '
10336-
'The\n'
10337-
'following values are considered false:\n'
10338-
'\n'
10339-
'* "None"\n'
10340-
'\n'
10341-
'* "False"\n'
10335+
'"while" condition or as operand of the Boolean operations below.\n'
1034210336
'\n'
10343-
'* zero of any numeric type, for example, "0", "0.0", "0j".\n'
10344-
'\n'
10345-
'* any empty sequence, for example, "\'\'", "()", "[]".\n'
10337+
'By default, an object is considered true unless its class defines\n'
10338+
'either a "__bool__()" method that returns "False" or a "__len__()"\n'
10339+
'method that returns zero, when called with the object. [1] Here '
10340+
'are\n'
10341+
'most of the built-in objects considered false:\n'
1034610342
'\n'
10347-
'* any empty mapping, for example, "{}".\n'
10343+
'* constants defined to be false: "None" and "False".\n'
1034810344
'\n'
10349-
'* instances of user-defined classes, if the class defines a\n'
10350-
' "__bool__()" or "__len__()" method, when that method returns the\n'
10351-
' integer zero or "bool" value "False". [1]\n'
10345+
'* zero of any numeric type: "0", "0.0", "0j", "Decimal(0)",\n'
10346+
' "Fraction(0, 1)"\n'
1035210347
'\n'
10353-
'All other values are considered true --- so objects of many types '
10354-
'are\n'
10355-
'always true.\n'
10348+
'* empty sequences and collections: "\'\'", "()", "[]", "{}", '
10349+
'"set()",\n'
10350+
' "range(0)"\n'
1035610351
'\n'
1035710352
'Operations and built-in functions that have a Boolean result '
1035810353
'always\n'
@@ -12401,7 +12396,7 @@
1240112396
'operations.\n'
1240212397
' Lists also provide the following additional method:\n'
1240312398
'\n'
12404-
' sort(*, key=None, reverse=None)\n'
12399+
' sort(*, key=None, reverse=False)\n'
1240512400
'\n'
1240612401
' This method sorts the list in place, using only "<" '
1240712402
'comparisons\n'

0 commit comments

Comments
 (0)