summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Include/patchlevel.h8
-rw-r--r--Lib/pydoc_data/topics.py903
-rw-r--r--Misc/NEWS.d/3.6.6rc1.rst885
-rw-r--r--Misc/NEWS.d/next/Build/2018-04-30-17-36-46.bpo-33394._Vdi4t.rst2
-rw-r--r--Misc/NEWS.d/next/Build/2018-05-10-21-10-01.bpo-33012.5Zfjac.rst2
-rw-r--r--Misc/NEWS.d/next/Build/2018-05-15-12-44-50.bpo-33522.mJoNcA.rst2
-rw-r--r--Misc/NEWS.d/next/Build/2018-05-28-11-40-22.bpo-33614.28e0sE.rst2
-rw-r--r--Misc/NEWS.d/next/Build/2018-06-04-21-34-34.bpo-5755.65GmCj.rst3
-rw-r--r--Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2017-10-02-21-02-14.bpo-21983.UoC319.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2017-12-12-14-02-28.bpo-32282.xFVMTn.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-33041.XwPhI2.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-04-02-09-32-40.bpo-33199.TPnxQu.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-04-03-00-30-25.bpo-29922.CdLuMl.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-04-05-22-20-44.bpo-33231.3Jmo0q.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-04-25-20-44-42.bpo-28055.f49kfC.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-05-02-08-36-03.bpo-33391.z4a7rb.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-05-14-11-00-00.bpo-31849.EmHaH4.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-05-23-20-46-14.bpo-33622.xPucO9.rst4
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-05-28-12-28-53.bpo-30654.9fDJye.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-06-06-23-24-40.bpo-33786.lBvT8z.rst1
-rw-r--r--Misc/NEWS.d/next/Documentation/2017-09-13-07-14-59.bpo-31432.yAY4Z3.rst2
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-01-13-20-30-53.bpo-8243.s98r28.rst2
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst2
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-03-11-18-53-47.bpo-18802.JhAqH3.rst1
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-03-20-20-11-05.bpo-28247.-V-WS-.rst2
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-03-22-19-23-04.bpo-27212.wrE5KR.rst2
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-03-28-17-03-17.bpo-33126.5UGkNv.rst1
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-04-01-14-30-36.bpo-33195.dRS-XX.rst3
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-04-01-21-03-41.bpo-33201.aa8Lkl.rst1
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-04-20-14-09-36.bpo-33276.rA1z_3.rst1
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-04-29-04-02-18.bpo-33378.-anAHN.rst1
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-05-14-15-23-51.bpo-33421.3GU_QO.rst1
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-05-14-20-08-58.bpo-33503.Wvt0qg.rst1
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-02-12-08-08-45.bpo-32831.srDRvU.rst1
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-04-02-00-28-13.bpo-33204.NBsuIv.rst3
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-04-29-16-13-02.bpo-21474.bglg-F.rst3
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-05-15-17-01-10.bpo-29706.id4H5i.rst2
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-05-17-19-41-12.bpo-33564.XzHZJe.rst1
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-05-23-19-51-07.bpo-33628.sLlFLO.rst2
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst2
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst3
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-06-03-09-13-28.bpo-33664.PZzQyL.rst5
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-06-03-20-12-57.bpo-33763.URiFlE.rst1
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-06-04-19-23-11.bpo-33768.I_2qpV.rst1
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-06-10-17-59-36.bpo-33656.60ZqJS.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2017-09-29-16-40-38.bpo-16865.l-f6I_.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2017-10-18-19-05-17.bpo-31457.KlE6r8.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2017-10-31.bpo-31908.g4xh8x.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2018-02-28-13-08-00.bpo-32844.u8tnAe.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2018-03-12-00-27-56.bpo-33021.m19B9T.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-03-24-15-08-24.bpo-33127.olJmHv.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-03-25-13-18-16.bpo-33096.ofdbe7.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-03-10-37-13.bpo-33209.9sGWE_.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-04-23-41-30.bpo-33224.pyR0jB.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-05-11-09-45.bpo-33203.Hje9Py.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-10-20-57-14.bpo-33256.ndHkqu.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-11-20-29-19.bpo-33263.B56Hc1.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-18-19-12-25.bpo-33308.fW75xi.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-20-10-43-17.bpo-33131.L2E977.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-21-00-24-08.bpo-991266.h93TP_.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-23-13-21-39.bpo-33329.lQ-Eod.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-29-11-15-38.bpo-33383.g32YWn.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-04-29-23-56-20.bpo-33197.dgRLqr.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-05-09-53-05.bpo-33422.4FtQ0q.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-05-18-02-24.bpo-20087.lJrvXL.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-10-14-51-19.bpo-28556.y3zK6I.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-16-05-24-43.bpo-26819.taxbVT.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-16-17-05-48.bpo-33548.xWslmx.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-22-13-05-12.bpo-30877.JZEGjI.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-23-00-26-27.bpo-11874.glK5iP.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-28-15-55-12.bpo-33469.hmXBpY.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-28-17-45-06.bpo-33672.GM_Xm_.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-28-18-40-26.bpo-31467.s4Fad3.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-28-22-49-59.bpo-33674.6LFFj7.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-29-12-51-18.bpo-32684.ZEIism.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-06-03-22-41-59.bpo-33767.2e82g3.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2018-06-08-17-34-16.bpo-30805.3qCWa0.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2018-06-10-13-26-02.bpo-33812.frGAOr.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2018-06-10-19-29-17.bpo-30167.G5EgC5.rst1
-rw-r--r--Misc/NEWS.d/next/Tests/2018-01-08-13-33-47.bpo-19417.2asoXy.rst1
-rw-r--r--Misc/NEWS.d/next/Tests/2018-05-26-16-01-40.bpo-33655.Frb4LA.rst2
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2017-09-26-10-11-21.bpo-31583.TM90_H.rst2
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst2
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2018-03-16-17-25-05.bpo-29673.m8QtaW.rst1
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2018-03-26-18-54-24.bpo-31920.u_WKsT.rst2
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst2
-rw-r--r--Misc/NEWS.d/next/Windows/2018-04-13-11-39-28.bpo-33184.aEohx0.rst1
-rw-r--r--Misc/NEWS.d/next/macOS/2018-04-07-00-58-50.bpo-33184.rMTiqu.rst1
-rw-r--r--README.rst4
94 files changed, 1337 insertions, 631 deletions
diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index 1c5881e587a..8a94c2c0b44 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 6
-#define PY_MICRO_VERSION 5
-#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
-#define PY_RELEASE_SERIAL 0
+#define PY_MICRO_VERSION 6
+#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
+#define PY_RELEASE_SERIAL 1
/* Version as a string */
-#define PY_VERSION "3.6.5+"
+#define PY_VERSION "3.6.6rc1"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index f37e672a68f..0c307a11512 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Autogenerated by Sphinx on Tue Mar 13 21:13:16 2018
+# Autogenerated by Sphinx on Tue Jun 12 00:16:23 2018
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@@ -106,7 +106,7 @@ topics = {'assert': 'The "assert" statement\n'
' corresponding targets.\n'
'\n'
' * If the target list contains one target prefixed with an\n'
- ' asterisk, called a "starred" target: The object must be '
+ ' asterisk, called a “starred” target: The object must be '
'an\n'
' iterable with at least as many items as there are targets '
'in the\n'
@@ -203,10 +203,10 @@ topics = {'assert': 'The "assert" statement\n'
' If the primary is a mutable sequence object (such as a '
'list), the\n'
' subscript must yield an integer. If it is negative, the '
- "sequence's\n"
+ 'sequence’s\n'
' length is added to it. The resulting value must be a '
'nonnegative\n'
- " integer less than the sequence's length, and the sequence is "
+ ' integer less than the sequence’s length, and the sequence is '
'asked\n'
' to assign the assigned object to its item with that index. '
'If the\n'
@@ -216,7 +216,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' If the primary is a mapping object (such as a dictionary), '
'the\n'
- " subscript must have a type compatible with the mapping's key "
+ ' subscript must have a type compatible with the mapping’s key '
'type,\n'
' and the mapping is then asked to create a key/datum pair '
'which maps\n'
@@ -239,12 +239,12 @@ topics = {'assert': 'The "assert" statement\n'
'expressions are\n'
' evaluated, insofar they are present; defaults are zero and '
'the\n'
- " sequence's length. The bounds should evaluate to integers. "
+ ' sequence’s length. The bounds should evaluate to integers. '
'If\n'
- " either bound is negative, the sequence's length is added to "
+ ' either bound is negative, the sequence’s length is added to '
'it. The\n'
' resulting bounds are clipped to lie between zero and the '
- "sequence's\n"
+ 'sequence’s\n'
' length, inclusive. Finally, the sequence object is asked to '
'replace\n'
' the slice with the items of the assigned sequence. The '
@@ -265,7 +265,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Although the definition of assignment implies that overlaps '
'between\n'
- "the left-hand side and the right-hand side are 'simultaneous' "
+ 'the left-hand side and the right-hand side are ‘simultaneous’ '
'(for\n'
'example "a, b = b, a" swaps two variables), overlaps *within* '
'the\n'
@@ -464,7 +464,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'All literals correspond to immutable data types, and hence '
'the\n'
- "object's identity is less important than its value. "
+ 'object’s identity is less important than its value. '
'Multiple\n'
'evaluations of literals with the same value (either the '
'same\n'
@@ -600,11 +600,11 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Note: Setting module "__class__" only affects lookups '
'made using the\n'
- ' attribute access syntax -- directly accessing the '
+ ' attribute access syntax – directly accessing the '
'module globals\n'
' (whether by code within the module, or via a reference '
'to the\n'
- " module's globals dictionary) is unaffected.\n"
+ ' module’s globals dictionary) is unaffected.\n'
'\n'
'Changed in version 3.5: "__class__" module attribute is '
'now writable.\n'
@@ -618,13 +618,12 @@ topics = {'assert': 'The "assert" statement\n'
'containing the method (a so-called *descriptor* class) '
'appears in an\n'
'*owner* class (the descriptor must be in either the '
- "owner's class\n"
+ 'owner’s class\n'
'dictionary or in the class dictionary for one of its '
'parents). In the\n'
- 'examples below, "the attribute" refers to the attribute '
+ 'examples below, “the attribute” refers to the attribute '
'whose name is\n'
- "the key of the property in the owner class' "
- '"__dict__".\n'
+ 'the key of the property in the owner class’ "__dict__".\n'
'\n'
'object.__get__(self, instance, owner)\n'
'\n'
@@ -681,8 +680,8 @@ topics = {'assert': 'The "assert" statement\n'
'====================\n'
'\n'
'In general, a descriptor is an object attribute with '
- '"binding\n'
- 'behavior", one whose attribute access has been '
+ '“binding\n'
+ 'behavior”, one whose attribute access has been '
'overridden by methods\n'
'in the descriptor protocol: "__get__()", "__set__()", '
'and\n'
@@ -692,7 +691,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'The default behavior for attribute access is to get, '
'set, or delete\n'
- "the attribute from an object's dictionary. For instance, "
+ 'the attribute from an object’s dictionary. For instance, '
'"a.x" has a\n'
'lookup chain starting with "a.__dict__[\'x\']", then\n'
'"type(a).__dict__[\'x\']", and continuing through the '
@@ -747,7 +746,7 @@ topics = {'assert': 'The "assert" statement\n'
'does not define "__get__()", then accessing the '
'attribute will return\n'
'the descriptor object itself unless there is a value in '
- "the object's\n"
+ 'the object’s\n'
'instance dictionary. If the descriptor defines '
'"__set__()" and/or\n'
'"__delete__()", it is a data descriptor; if it defines '
@@ -868,7 +867,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'* Nonempty *__slots__* does not work for classes derived '
'from\n'
- ' "variable-length" built-in types such as "int", '
+ ' “variable-length” built-in types such as "int", '
'"bytes" and "tuple".\n'
'\n'
'* Any non-string iterable may be assigned to '
@@ -1011,7 +1010,7 @@ topics = {'assert': 'The "assert" statement\n'
'while\n'
'floor division of integers results in an integer; the result is '
'that\n'
- "of mathematical division with the 'floor' function applied to the\n"
+ 'of mathematical division with the ‘floor’ function applied to the\n'
'result. Division by zero raises the "ZeroDivisionError" '
'exception.\n'
'\n'
@@ -1087,10 +1086,10 @@ topics = {'assert': 'The "assert" statement\n'
'************\n'
'\n'
'Code objects are used by the implementation to '
- 'represent "pseudo-\n'
- 'compiled" executable Python code such as a function '
+ 'represent “pseudo-\n'
+ 'compiled” executable Python code such as a function '
'body. They differ\n'
- "from function objects because they don't contain a "
+ 'from function objects because they don’t contain a '
'reference to their\n'
'global execution environment. Code objects are '
'returned by the built-\n'
@@ -1121,7 +1120,7 @@ topics = {'assert': 'The "assert" statement\n'
'bltin-null-object': 'The Null Object\n'
'***************\n'
'\n'
- "This object is returned by functions that don't "
+ 'This object is returned by functions that don’t '
'explicitly return a\n'
'value. It supports no special operations. There is '
'exactly one null\n'
@@ -1134,7 +1133,7 @@ topics = {'assert': 'The "assert" statement\n'
'************\n'
'\n'
'Type objects represent the various object types. An '
- "object's type is\n"
+ 'object’s type is\n'
'accessed by the built-in function "type()". There are '
'no special\n'
'operations on types. The standard module "types" '
@@ -1217,7 +1216,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'object.__call__(self[, args...])\n'
'\n'
- ' Called when the instance is "called" as a function; if '
+ ' Called when the instance is “called” as a function; if '
'this method\n'
' is defined, "x(arg1, arg2, ...)" is a shorthand for\n'
' "x.__call__(arg1, arg2, ...)".\n',
@@ -1277,7 +1276,7 @@ topics = {'assert': 'The "assert" statement\n'
'values are calculated, once, when the function is defined; thus, a\n'
'mutable object such as a list or dictionary used as default value '
'will\n'
- "be shared by all calls that don't specify an argument value for "
+ 'be shared by all calls that don’t specify an argument value for '
'the\n'
'corresponding slot; this should usually be avoided.) If there are '
'any\n'
@@ -1290,7 +1289,7 @@ topics = {'assert': 'The "assert" statement\n'
'**CPython implementation detail:** An implementation may provide\n'
'built-in functions whose positional parameters do not have names, '
'even\n'
- "if they are 'named' for the purpose of documentation, and which\n"
+ 'if they are ‘named’ for the purpose of documentation, and which\n'
'therefore cannot be supplied by keyword. In CPython, this is the '
'case\n'
'for functions implemented in C that use "PyArg_ParseTuple()" to '
@@ -1322,16 +1321,17 @@ topics = {'assert': 'The "assert" statement\n'
'must evaluate to an *iterable*. Elements from these iterables are\n'
'treated as if they were additional positional arguments. For the '
'call\n'
- '"f(x1, x2, *y, x3, x4)", if *y* evaluates to a sequence *y1*, ...,\n'
- '*yM*, this is equivalent to a call with M+4 positional arguments '
- '*x1*,\n'
- '*x2*, *y1*, ..., *yM*, *x3*, *x4*.\n'
+ '"f(x1, x2, *y, x3, x4)", if *y* evaluates to a sequence *y1*, …, '
+ '*yM*,\n'
+ 'this is equivalent to a call with M+4 positional arguments *x1*, '
+ '*x2*,\n'
+ '*y1*, …, *yM*, *x3*, *x4*.\n'
'\n'
'A consequence of this is that although the "*expression" syntax '
'may\n'
'appear *after* explicit keyword arguments, it is processed '
'*before*\n'
- 'the keyword arguments (and any "**expression" arguments -- see '
+ 'the keyword arguments (and any "**expression" arguments – see '
'below).\n'
'So:\n'
'\n'
@@ -1378,7 +1378,7 @@ topics = {'assert': 'The "assert" statement\n'
'exception. How this value is computed depends on the type of the\n'
'callable object.\n'
'\n'
- 'If it is---\n'
+ 'If it is—\n'
'\n'
'a user-defined function:\n'
' The code block for the function is executed, passing it the\n'
@@ -1437,10 +1437,10 @@ topics = {'assert': 'The "assert" statement\n'
' class Foo(object):\n'
' pass\n'
'\n'
- "The class's suite is then executed in a new execution frame (see\n"
+ 'The class’s suite is then executed in a new execution frame (see\n'
'Naming and binding), using a newly created local namespace and the\n'
'original global namespace. (Usually, the suite contains mostly\n'
- "function definitions.) When the class's suite finishes execution, "
+ 'function definitions.) When the class’s suite finishes execution, '
'its\n'
'execution frame is discarded but its local namespace is saved. [4] '
'A\n'
@@ -1452,7 +1452,7 @@ topics = {'assert': 'The "assert" statement\n'
'namespace.\n'
'\n'
'The order in which attributes are defined in the class body is\n'
- 'preserved in the new class\'s "__dict__". Note that this is '
+ 'preserved in the new class’s "__dict__". Note that this is '
'reliable\n'
'only right after the class is created and only for classes that '
'were\n'
@@ -1476,13 +1476,13 @@ topics = {'assert': 'The "assert" statement\n'
'for\n'
'function decorators. The result is then bound to the class name.\n'
'\n'
- "**Programmer's note:** Variables defined in the class definition "
+ '**Programmer’s note:** Variables defined in the class definition '
'are\n'
'class attributes; they are shared by instances. Instance '
'attributes\n'
'can be set in a method with "self.name = value". Both class and\n'
'instance attributes are accessible through the notation '
- '""self.name"",\n'
+ '“"self.name"”,\n'
'and an instance attribute hides a class attribute with the same '
'name\n'
'when accessed in this way. Class attributes can be used as '
@@ -1519,15 +1519,15 @@ topics = {'assert': 'The "assert" statement\n'
'y" is\n'
'found to be false).\n'
'\n'
- 'Formally, if *a*, *b*, *c*, ..., *y*, *z* are expressions and '
+ 'Formally, if *a*, *b*, *c*, …, *y*, *z* are expressions and '
'*op1*,\n'
- '*op2*, ..., *opN* are comparison operators, then "a op1 b op2 '
- 'c ... y\n'
+ '*op2*, …, *opN* are comparison operators, then "a op1 b op2 c '
+ '... y\n'
'opN z" is equivalent to "a op1 b and b op2 c and ... y opN '
'z", except\n'
'that each expression is evaluated at most once.\n'
'\n'
- 'Note that "a op1 b op2 c" doesn\'t imply any kind of '
+ 'Note that "a op1 b op2 c" doesn’t imply any kind of '
'comparison between\n'
'*a* and *c*, so that, e.g., "x < y > z" is perfectly legal '
'(though\n'
@@ -1548,7 +1548,7 @@ topics = {'assert': 'The "assert" statement\n'
'rather\n'
'abstract notion in Python: For example, there is no canonical '
'access\n'
- "method for an object's value. Also, there is no requirement "
+ 'method for an object’s value. Also, there is no requirement '
'that the\n'
'value of an object should be constructed in a particular way, '
'e.g.\n'
@@ -1602,7 +1602,7 @@ topics = {'assert': 'The "assert" statement\n'
'most\n'
'important built-in types.\n'
'\n'
- '* Numbers of built-in numeric types (Numeric Types --- int, '
+ '* Numbers of built-in numeric types (Numeric Types — int, '
'float,\n'
' complex) and of the standard library types '
'"fractions.Fraction" and\n'
@@ -1889,9 +1889,9 @@ topics = {'assert': 'The "assert" statement\n'
'compound\n'
'statements.\n'
'\n'
- "A compound statement consists of one or more 'clauses.' A "
+ 'A compound statement consists of one or more ‘clauses.’ A '
'clause\n'
- "consists of a header and a 'suite.' The clause headers of a\n"
+ 'consists of a header and a ‘suite.’ The clause headers of a\n'
'particular compound statement are all at the same indentation '
'level.\n'
'Each clause header begins with a uniquely identifying keyword '
@@ -1899,12 +1899,12 @@ topics = {'assert': 'The "assert" statement\n'
'with a colon. A suite is a group of statements controlled by a\n'
'clause. A suite can be one or more semicolon-separated simple\n'
'statements on the same line as the header, following the '
- "header's\n"
+ 'header’s\n'
'colon, or it can be one or more indented statements on '
'subsequent\n'
'lines. Only the latter form of a suite can contain nested '
'compound\n'
- "statements; the following is illegal, mostly because it wouldn't "
+ 'statements; the following is illegal, mostly because it wouldn’t '
'be\n'
'clear to which "if" clause a following "else" clause would '
'belong:\n'
@@ -1941,7 +1941,7 @@ topics = {'assert': 'The "assert" statement\n'
'"DEDENT". Also note that optional continuation clauses always '
'begin\n'
'with a keyword that cannot start a statement, thus there are no\n'
- 'ambiguities (the \'dangling "else"\' problem is solved in Python '
+ 'ambiguities (the ‘dangling "else"’ problem is solved in Python '
'by\n'
'requiring nested "if" statements to be indented).\n'
'\n'
@@ -1992,7 +1992,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'A "break" statement executed in the first suite terminates the '
'loop\n'
- 'without executing the "else" clause\'s suite. A "continue" '
+ 'without executing the "else" clause’s suite. A "continue" '
'statement\n'
'executed in the first suite skips the rest of the suite and goes '
'back\n'
@@ -2031,7 +2031,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'A "break" statement executed in the first suite terminates the '
'loop\n'
- 'without executing the "else" clause\'s suite. A "continue" '
+ 'without executing the "else" clause’s suite. A "continue" '
'statement\n'
'executed in the first suite skips the rest of the suite and '
'continues\n'
@@ -2058,7 +2058,7 @@ topics = {'assert': 'The "assert" statement\n'
'to at\n'
'all by the loop. Hint: the built-in function "range()" returns '
'an\n'
- "iterator of integers suitable to emulate the effect of Pascal's "
+ 'iterator of integers suitable to emulate the effect of Pascal’s '
'"for i\n'
':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, '
'2]".\n'
@@ -2120,7 +2120,7 @@ topics = {'assert': 'The "assert" statement\n'
'expression\n'
'is evaluated, and the clause matches the exception if the '
'resulting\n'
- 'object is "compatible" with the exception. An object is '
+ 'object is “compatible” with the exception. An object is '
'compatible\n'
'with an exception if it is the class or a base class of the '
'exception\n'
@@ -2147,7 +2147,7 @@ topics = {'assert': 'The "assert" statement\n'
'assigned to\n'
'the target specified after the "as" keyword in that except '
'clause, if\n'
- "present, and the except clause's suite is executed. All except\n"
+ 'present, and the except clause’s suite is executed. All except\n'
'clauses must have an executable block. When the end of this '
'block is\n'
'reached, execution continues normally after the entire try '
@@ -2183,7 +2183,7 @@ topics = {'assert': 'The "assert" statement\n'
'alive\n'
'until the next garbage collection occurs.\n'
'\n'
- "Before an except clause's suite is executed, details about the\n"
+ 'Before an except clause’s suite is executed, details about the\n'
'exception are stored in the "sys" module and can be accessed '
'via\n'
'"sys.exc_info()". "sys.exc_info()" returns a 3-tuple consisting '
@@ -2204,8 +2204,8 @@ topics = {'assert': 'The "assert" statement\n'
'are\n'
'not handled by the preceding "except" clauses.\n'
'\n'
- 'If "finally" is present, it specifies a \'cleanup\' handler. '
- 'The "try"\n'
+ 'If "finally" is present, it specifies a ‘cleanup’ handler. The '
+ '"try"\n'
'clause is executed, including any "except" and "else" clauses. '
'If an\n'
'exception occurs in any of the clauses and is not handled, the\n'
@@ -2236,13 +2236,12 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'When a "return", "break" or "continue" statement is executed in '
'the\n'
- '"try" suite of a "try"..."finally" statement, the "finally" '
- 'clause is\n'
- 'also executed \'on the way out.\' A "continue" statement is '
+ '"try" suite of a "try"…"finally" statement, the "finally" clause '
+ 'is\n'
+ 'also executed ‘on the way out.’ A "continue" statement is '
'illegal in\n'
'the "finally" clause. (The reason is a problem with the current\n'
- 'implementation --- this restriction may be lifted in the '
- 'future).\n'
+ 'implementation — this restriction may be lifted in the future).\n'
'\n'
'The return value of a function is determined by the last '
'"return"\n'
@@ -2274,14 +2273,14 @@ topics = {'assert': 'The "assert" statement\n'
'with\n'
'methods defined by a context manager (see section With '
'Statement\n'
- 'Context Managers). This allows common '
- '"try"..."except"..."finally"\n'
- 'usage patterns to be encapsulated for convenient reuse.\n'
+ 'Context Managers). This allows common "try"…"except"…"finally" '
+ 'usage\n'
+ 'patterns to be encapsulated for convenient reuse.\n'
'\n'
' with_stmt ::= "with" with_item ("," with_item)* ":" suite\n'
' with_item ::= expression ["as" target]\n'
'\n'
- 'The execution of the "with" statement with one "item" proceeds '
+ 'The execution of the "with" statement with one “item” proceeds '
'as\n'
'follows:\n'
'\n'
@@ -2289,9 +2288,9 @@ topics = {'assert': 'The "assert" statement\n'
'"with_item")\n'
' is evaluated to obtain a context manager.\n'
'\n'
- '2. The context manager\'s "__exit__()" is loaded for later use.\n'
+ '2. The context manager’s "__exit__()" is loaded for later use.\n'
'\n'
- '3. The context manager\'s "__enter__()" method is invoked.\n'
+ '3. The context manager’s "__enter__()" method is invoked.\n'
'\n'
'4. If a target was included in the "with" statement, the return\n'
' value from "__enter__()" is assigned to it.\n'
@@ -2308,8 +2307,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'5. The suite is executed.\n'
'\n'
- '6. The context manager\'s "__exit__()" method is invoked. If '
- 'an\n'
+ '6. The context manager’s "__exit__()" method is invoked. If an\n'
' exception caused the suite to be exited, its type, value, '
'and\n'
' traceback are passed as arguments to "__exit__()". Otherwise, '
@@ -2349,7 +2347,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'See also:\n'
'\n'
- ' **PEP 343** - The "with" statement\n'
+ ' **PEP 343** - The “with” statement\n'
' The specification, background, and examples for the Python '
'"with"\n'
' statement.\n'
@@ -2418,25 +2416,24 @@ topics = {'assert': 'The "assert" statement\n'
'"func".\n'
'\n'
'When one or more *parameters* have the form *parameter* "="\n'
- '*expression*, the function is said to have "default parameter '
- 'values."\n'
+ '*expression*, the function is said to have “default parameter '
+ 'values.”\n'
'For a parameter with a default value, the corresponding '
'*argument* may\n'
- "be omitted from a call, in which case the parameter's default "
+ 'be omitted from a call, in which case the parameter’s default '
'value is\n'
'substituted. If a parameter has a default value, all following\n'
- 'parameters up until the ""*"" must also have a default value --- '
- 'this\n'
- 'is a syntactic restriction that is not expressed by the '
- 'grammar.\n'
+ 'parameters up until the “"*"” must also have a default value — '
+ 'this is\n'
+ 'a syntactic restriction that is not expressed by the grammar.\n'
'\n'
'**Default parameter values are evaluated from left to right when '
'the\n'
'function definition is executed.** This means that the '
'expression is\n'
'evaluated once, when the function is defined, and that the same '
- '"pre-\n'
- 'computed" value is used for each call. This is especially '
+ '“pre-\n'
+ 'computed” value is used for each call. This is especially '
'important\n'
'to understand when a default parameter is a mutable object, such '
'as a\n'
@@ -2462,26 +2459,26 @@ topics = {'assert': 'The "assert" statement\n'
'mentioned in\n'
'the parameter list, either from position arguments, from '
'keyword\n'
- 'arguments, or from default values. If the form ""*identifier"" '
+ 'arguments, or from default values. If the form “"*identifier"” '
'is\n'
'present, it is initialized to a tuple receiving any excess '
'positional\n'
'parameters, defaulting to the empty tuple. If the form\n'
- '""**identifier"" is present, it is initialized to a new ordered\n'
+ '“"**identifier"” is present, it is initialized to a new ordered\n'
'mapping receiving any excess keyword arguments, defaulting to a '
'new\n'
- 'empty mapping of the same type. Parameters after ""*"" or\n'
- '""*identifier"" are keyword-only parameters and may only be '
+ 'empty mapping of the same type. Parameters after “"*"” or\n'
+ '“"*identifier"” are keyword-only parameters and may only be '
'passed\n'
'used keyword arguments.\n'
'\n'
- 'Parameters may have annotations of the form "": expression"" '
+ 'Parameters may have annotations of the form “": expression"” '
'following\n'
'the parameter name. Any parameter may have an annotation even '
'those\n'
'of the form "*identifier" or "**identifier". Functions may '
'have\n'
- '"return" annotation of the form ""-> expression"" after the '
+ '“return” annotation of the form “"-> expression"” after the '
'parameter\n'
'list. These annotations can be any valid Python expression and '
'are\n'
@@ -2491,7 +2488,7 @@ topics = {'assert': 'The "assert" statement\n'
'code.\n'
'The presence of annotations does not change the semantics of a\n'
'function. The annotation values are available as values of a\n'
- "dictionary keyed by the parameters' names in the "
+ 'dictionary keyed by the parameters’ names in the '
'"__annotations__"\n'
'attribute of the function object.\n'
'\n'
@@ -2502,16 +2499,16 @@ topics = {'assert': 'The "assert" statement\n'
'lambda\n'
'expression is merely a shorthand for a simplified function '
'definition;\n'
- 'a function defined in a ""def"" statement can be passed around '
+ 'a function defined in a “"def"” statement can be passed around '
'or\n'
'assigned to another name just like a function defined by a '
'lambda\n'
- 'expression. The ""def"" form is actually more powerful since '
+ 'expression. The “"def"” form is actually more powerful since '
'it\n'
'allows the execution of multiple statements and annotations.\n'
'\n'
- "**Programmer's note:** Functions are first-class objects. A "
- '""def""\n'
+ '**Programmer’s note:** Functions are first-class objects. A '
+ '“"def"”\n'
'statement executed inside a function definition defines a local\n'
'function that can be returned or passed around. Free variables '
'used\n'
@@ -2555,12 +2552,12 @@ topics = {'assert': 'The "assert" statement\n'
' class Foo(object):\n'
' pass\n'
'\n'
- "The class's suite is then executed in a new execution frame "
+ 'The class’s suite is then executed in a new execution frame '
'(see\n'
'Naming and binding), using a newly created local namespace and '
'the\n'
'original global namespace. (Usually, the suite contains mostly\n'
- "function definitions.) When the class's suite finishes "
+ 'function definitions.) When the class’s suite finishes '
'execution, its\n'
'execution frame is discarded but its local namespace is saved. '
'[4] A\n'
@@ -2573,7 +2570,7 @@ topics = {'assert': 'The "assert" statement\n'
'namespace.\n'
'\n'
'The order in which attributes are defined in the class body is\n'
- 'preserved in the new class\'s "__dict__". Note that this is '
+ 'preserved in the new class’s "__dict__". Note that this is '
'reliable\n'
'only right after the class is created and only for classes that '
'were\n'
@@ -2598,14 +2595,14 @@ topics = {'assert': 'The "assert" statement\n'
'function decorators. The result is then bound to the class '
'name.\n'
'\n'
- "**Programmer's note:** Variables defined in the class definition "
+ '**Programmer’s note:** Variables defined in the class definition '
'are\n'
'class attributes; they are shared by instances. Instance '
'attributes\n'
'can be set in a method with "self.name = value". Both class '
'and\n'
'instance attributes are accessible through the notation '
- '""self.name"",\n'
+ '“"self.name"”,\n'
'and an instance attribute hides a class attribute with the same '
'name\n'
'when accessed in this way. Class attributes can be used as '
@@ -2741,20 +2738,19 @@ topics = {'assert': 'The "assert" statement\n'
' exception. That new exception causes the old one to be '
'lost.\n'
'\n'
- '[2] Currently, control "flows off the end" except in the case '
+ '[2] Currently, control “flows off the end” except in the case '
'of\n'
' an exception or the execution of a "return", "continue", or\n'
' "break" statement.\n'
'\n'
'[3] A string literal appearing as the first statement in the\n'
- ' function body is transformed into the function\'s "__doc__"\n'
- " attribute and therefore the function's *docstring*.\n"
+ ' function body is transformed into the function’s "__doc__"\n'
+ ' attribute and therefore the function’s *docstring*.\n'
'\n'
'[4] A string literal appearing as the first statement in the '
'class\n'
- ' body is transformed into the namespace\'s "__doc__" item '
- 'and\n'
- " therefore the class's *docstring*.\n",
+ ' body is transformed into the namespace’s "__doc__" item and\n'
+ ' therefore the class’s *docstring*.\n',
'context-managers': 'With Statement Context Managers\n'
'*******************************\n'
'\n'
@@ -2784,7 +2780,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Enter the runtime context related to this object. The '
'"with"\n'
- " statement will bind this method's return value to the "
+ ' statement will bind this method’s return value to the '
'target(s)\n'
' specified in the "as" clause of the statement, if '
'any.\n'
@@ -2809,11 +2805,11 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Note that "__exit__()" methods should not reraise the '
'passed-in\n'
- " exception; this is the caller's responsibility.\n"
+ ' exception; this is the caller’s responsibility.\n'
'\n'
'See also:\n'
'\n'
- ' **PEP 343** - The "with" statement\n'
+ ' **PEP 343** - The “with” statement\n'
' The specification, background, and examples for the '
'Python "with"\n'
' statement.\n',
@@ -2839,7 +2835,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'When a description of an arithmetic operator below uses the '
'phrase\n'
- '"the numeric arguments are converted to a common type," this '
+ '“the numeric arguments are converted to a common type,” this '
'means\n'
'that the operator implementation for built-in types works as '
'follows:\n'
@@ -2857,7 +2853,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Some additional rules apply for certain operators (e.g., a '
'string as a\n'
- "left argument to the '%' operator). Extensions must define "
+ 'left argument to the ‘%’ operator). Extensions must define '
'their own\n'
'conversion behavior.\n',
'customization': 'Basic customization\n'
@@ -2881,7 +2877,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Typical implementations create a new instance of the '
'class by\n'
- ' invoking the superclass\'s "__new__()" method using\n'
+ ' invoking the superclass’s "__new__()" method using\n'
' "super().__new__(cls[, ...])" with appropriate arguments '
'and then\n'
' modifying the newly-created instance as necessary before '
@@ -2890,7 +2886,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' If "__new__()" returns an instance of *cls*, then the '
'new\n'
- ' instance\'s "__init__()" method will be invoked like\n'
+ ' instance’s "__init__()" method will be invoked like\n'
' "__init__(self[, ...])", where *self* is the new '
'instance and the\n'
' remaining arguments are the same as were passed to '
@@ -2898,7 +2894,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' If "__new__()" does not return an instance of *cls*, '
'then the new\n'
- ' instance\'s "__init__()" method will not be invoked.\n'
+ ' instance’s "__init__()" method will not be invoked.\n'
'\n'
' "__new__()" is intended mainly to allow subclasses of '
'immutable\n'
@@ -2916,7 +2912,7 @@ topics = {'assert': 'The "assert" statement\n'
'those\n'
' passed to the class constructor expression. If a base '
'class has an\n'
- ' "__init__()" method, the derived class\'s "__init__()" '
+ ' "__init__()" method, the derived class’s "__init__()" '
'method, if\n'
' any, must explicitly call it to ensure proper '
'initialization of the\n'
@@ -2937,7 +2933,7 @@ topics = {'assert': 'The "assert" statement\n'
'is also\n'
' called a finalizer or (improperly) a destructor. If a '
'base class\n'
- ' has a "__del__()" method, the derived class\'s '
+ ' has a "__del__()" method, the derived class’s '
'"__del__()" method,\n'
' if any, must explicitly call it to ensure proper '
'deletion of the\n'
@@ -2958,11 +2954,11 @@ topics = {'assert': 'The "assert" statement\n'
'for\n'
' objects that still exist when the interpreter exits.\n'
'\n'
- ' Note: "del x" doesn\'t directly call "x.__del__()" --- '
- 'the former\n'
+ ' Note: "del x" doesn’t directly call "x.__del__()" — the '
+ 'former\n'
' decrements the reference count for "x" by one, and the '
'latter is\n'
- ' only called when "x"\'s reference count reaches zero.\n'
+ ' only called when "x"’s reference count reaches zero.\n'
'\n'
' **CPython implementation detail:** It is possible for a '
'reference\n'
@@ -2974,7 +2970,7 @@ topics = {'assert': 'The "assert" statement\n'
'reference\n'
' cycles is when an exception has been caught in a local '
'variable.\n'
- " The frame's locals then reference the exception, which "
+ ' The frame’s locals then reference the exception, which '
'references\n'
' its own traceback, which references the locals of all '
'frames caught\n'
@@ -3021,7 +3017,7 @@ topics = {'assert': 'The "assert" statement\n'
'object.__repr__(self)\n'
'\n'
' Called by the "repr()" built-in function to compute the '
- '"official"\n'
+ '“official”\n'
' string representation of an object. If at all possible, '
'this\n'
' should look like a valid Python expression that could be '
@@ -3035,7 +3031,7 @@ topics = {'assert': 'The "assert" statement\n'
' value must be a string object. If a class defines '
'"__repr__()" but\n'
' not "__str__()", then "__repr__()" is also used when an '
- '"informal"\n'
+ '“informal”\n'
' string representation of instances of that class is '
'required.\n'
'\n'
@@ -3047,7 +3043,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Called by "str(object)" and the built-in functions '
'"format()" and\n'
- ' "print()" to compute the "informal" or nicely printable '
+ ' "print()" to compute the “informal” or nicely printable '
'string\n'
' representation of an object. The return value must be a '
'string\n'
@@ -3075,7 +3071,7 @@ topics = {'assert': 'The "assert" statement\n'
'extension,\n'
' evaluation of formatted string literals and the '
'"str.format()"\n'
- ' method, to produce a "formatted" string representation '
+ ' method, to produce a “formatted” string representation '
'of an\n'
' object. The "format_spec" argument is a string that '
'contains a\n'
@@ -3106,7 +3102,7 @@ topics = {'assert': 'The "assert" statement\n'
'object.__gt__(self, other)\n'
'object.__ge__(self, other)\n'
'\n'
- ' These are the so-called "rich comparison" methods. The\n'
+ ' These are the so-called “rich comparison” methods. The\n'
' correspondence between operator symbols and method names '
'is as\n'
' follows: "x<y" calls "x.__lt__(y)", "x<=y" calls '
@@ -3153,18 +3149,18 @@ topics = {'assert': 'The "assert" statement\n'
' when the left argument does not support the operation '
'but the right\n'
' argument does); rather, "__lt__()" and "__gt__()" are '
- "each other's\n"
- ' reflection, "__le__()" and "__ge__()" are each other\'s '
+ 'each other’s\n'
+ ' reflection, "__le__()" and "__ge__()" are each other’s '
'reflection,\n'
' and "__eq__()" and "__ne__()" are their own reflection. '
'If the\n'
- " operands are of different types, and right operand's "
+ ' operands are of different types, and right operand’s '
'type is a\n'
- " direct or indirect subclass of the left operand's type, "
+ ' direct or indirect subclass of the left operand’s type, '
'the\n'
' reflected method of the right operand has priority, '
'otherwise the\n'
- " left operand's method has priority. Virtual subclassing "
+ ' left operand’s method has priority. Virtual subclassing '
'is not\n'
' considered.\n'
'\n'
@@ -3188,12 +3184,12 @@ topics = {'assert': 'The "assert" statement\n'
' return hash((self.name, self.nick, self.color))\n'
'\n'
' Note: "hash()" truncates the value returned from an '
- "object's\n"
+ 'object’s\n'
' custom "__hash__()" method to the size of a '
'"Py_ssize_t". This\n'
' is typically 8 bytes on 64-bit builds and 4 bytes on '
'32-bit\n'
- ' builds. If an object\'s "__hash__()" must '
+ ' builds. If an object’s "__hash__()" must '
'interoperate on builds\n'
' of different bit sizes, be sure to check the width on '
'all\n'
@@ -3213,8 +3209,8 @@ topics = {'assert': 'The "assert" statement\n'
'implement\n'
' "__hash__()", since the implementation of hashable '
'collections\n'
- " requires that a key's hash value is immutable (if the "
- "object's hash\n"
+ ' requires that a key’s hash value is immutable (if the '
+ 'object’s hash\n'
' value changes, it will be in the wrong hash bucket).\n'
'\n'
' User-defined classes have "__eq__()" and "__hash__()" '
@@ -3259,7 +3255,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Note: By default, the "__hash__()" values of str, bytes '
'and\n'
- ' datetime objects are "salted" with an unpredictable '
+ ' datetime objects are “salted” with an unpredictable '
'random value.\n'
' Although they remain constant within an individual '
'Python\n'
@@ -3297,8 +3293,8 @@ topics = {'assert': 'The "assert" statement\n'
' neither "__len__()" nor "__bool__()", all its instances '
'are\n'
' considered true.\n',
- 'debugger': '"pdb" --- The Python Debugger\n'
- '*****************************\n'
+ 'debugger': '"pdb" — The Python Debugger\n'
+ '***************************\n'
'\n'
'**Source code:** Lib/pdb.py\n'
'\n'
@@ -3316,15 +3312,15 @@ topics = {'assert': 'The "assert" statement\n'
'debugging\n'
'and can be called under program control.\n'
'\n'
- 'The debugger is extensible -- it is actually defined as the '
+ 'The debugger is extensible – it is actually defined as the '
'class\n'
'"Pdb". This is currently undocumented but easily understood by '
'reading\n'
'the source. The extension interface uses the modules "bdb" and '
'"cmd".\n'
'\n'
- 'The debugger\'s prompt is "(Pdb)". Typical usage to run a '
- 'program under\n'
+ 'The debugger’s prompt is "(Pdb)". Typical usage to run a program '
+ 'under\n'
'control of the debugger is:\n'
'\n'
' >>> import pdb\n'
@@ -3356,11 +3352,11 @@ topics = {'assert': 'The "assert" statement\n'
'post-\n'
'mortem debugging (or after normal exit of the program), pdb '
'will\n'
- "restart the program. Automatic restarting preserves pdb's state "
+ 'restart the program. Automatic restarting preserves pdb’s state '
'(such\n'
'as breakpoints) and in most cases is more useful than quitting '
'the\n'
- "debugger upon program's exit.\n"
+ 'debugger upon program’s exit.\n'
'\n'
'New in version 3.2: "pdb.py" now accepts a "-c" option that '
'executes\n'
@@ -3539,7 +3535,7 @@ topics = {'assert': 'The "assert" statement\n'
'the last command was a "list" command, the next 11 lines are '
'listed.\n'
'\n'
- "Commands that the debugger doesn't recognize are assumed to be "
+ 'Commands that the debugger doesn’t recognize are assumed to be '
'Python\n'
'statements and are executed in the context of the program being\n'
'debugged. Python statements can also be prefixed with an '
@@ -3550,7 +3546,7 @@ topics = {'assert': 'The "assert" statement\n'
'function.\n'
'When an exception occurs in such a statement, the exception name '
'is\n'
- "printed but the debugger's state is not changed.\n"
+ 'printed but the debugger’s state is not changed.\n'
'\n'
'The debugger supports aliases. Aliases can have parameters '
'which\n'
@@ -3567,7 +3563,7 @@ topics = {'assert': 'The "assert" statement\n'
'first\n'
'";;" pair, even if it is in the middle of a quoted string.\n'
'\n'
- 'If a file ".pdbrc" exists in the user\'s home directory or in '
+ 'If a file ".pdbrc" exists in the user’s home directory or in '
'the\n'
'current directory, it is read in and executed as if it had been '
'typed\n'
@@ -3623,7 +3619,7 @@ topics = {'assert': 'The "assert" statement\n'
'prefixed\n'
' with a filename and a colon, to specify a breakpoint in '
'another\n'
- " file (probably one that hasn't been loaded yet). The file "
+ ' file (probably one that hasn’t been loaded yet). The file '
'is\n'
' searched on "sys.path". Note that each breakpoint is '
'assigned a\n'
@@ -3731,7 +3727,7 @@ topics = {'assert': 'The "assert" statement\n'
'which\n'
' list to execute.\n'
'\n'
- " If you use the 'silent' command in the command list, the "
+ ' If you use the ‘silent’ command in the command list, the '
'usual\n'
' message about stopping at a breakpoint is not printed. This '
'may be\n'
@@ -3790,13 +3786,13 @@ topics = {'assert': 'The "assert" statement\n'
'the\n'
' bottom-most frame. This lets you jump back and execute code '
'again,\n'
- " or jump forward to skip code that you don't want to run.\n"
+ ' or jump forward to skip code that you don’t want to run.\n'
'\n'
- ' It should be noted that not all jumps are allowed -- for '
- 'instance\n'
- ' it is not possible to jump into the middle of a "for" loop or '
- 'out\n'
- ' of a "finally" clause.\n'
+ ' It should be noted that not all jumps are allowed – for '
+ 'instance it\n'
+ ' is not possible to jump into the middle of a "for" loop or '
+ 'out of a\n'
+ ' "finally" clause.\n'
'\n'
'l(ist) [first[, last]]\n'
'\n'
@@ -3839,8 +3835,8 @@ topics = {'assert': 'The "assert" statement\n'
' value.\n'
'\n'
' Note: "print()" can also be used, but is not a debugger '
- 'command\n'
- ' --- this executes the Python "print()" function.\n'
+ 'command —\n'
+ ' this executes the Python "print()" function.\n'
'\n'
'pp expression\n'
'\n'
@@ -4010,7 +4006,7 @@ topics = {'assert': 'The "assert" statement\n'
'dictionary:\n'
'each key object is used as a key into the dictionary to store the\n'
'corresponding datum. This means that you can specify the same key\n'
- "multiple times in the key/datum list, and the final dictionary's "
+ 'multiple times in the key/datum list, and the final dictionary’s '
'value\n'
'for that key will be the last one given.\n'
'\n'
@@ -4024,7 +4020,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'A dict comprehension, in contrast to list and set comprehensions,\n'
'needs two expressions separated with a colon followed by the usual\n'
- '"for" and "if" clauses. When the comprehension is run, the '
+ '“for” and “if” clauses. When the comprehension is run, the '
'resulting\n'
'key and value elements are inserted in the new dictionary in the '
'order\n'
@@ -4098,7 +4094,7 @@ topics = {'assert': 'The "assert" statement\n'
'error (such as division by zero). A Python program can also\n'
'explicitly raise an exception with the "raise" statement. '
'Exception\n'
- 'handlers are specified with the "try" ... "except" statement. '
+ 'handlers are specified with the "try" … "except" statement. '
'The\n'
'"finally" clause of such a statement can be used to specify '
'cleanup\n'
@@ -4106,7 +4102,7 @@ topics = {'assert': 'The "assert" statement\n'
'whether an\n'
'exception occurred or not in the preceding code.\n'
'\n'
- 'Python uses the "termination" model of error handling: an '
+ 'Python uses the “termination” model of error handling: an '
'exception\n'
'handler can find out what happened and continue execution at '
'an outer\n'
@@ -4174,7 +4170,7 @@ topics = {'assert': 'The "assert" statement\n'
'argument to the interpreter) is a code block. A script command '
'(a\n'
'command specified on the interpreter command line with the '
- "'**-c**'\n"
+ '‘**-c**’\n'
'option) is a code block. The string argument passed to the '
'built-in\n'
'functions "eval()" and "exec()" is a code block.\n'
@@ -4183,7 +4179,7 @@ topics = {'assert': 'The "assert" statement\n'
'contains\n'
'some administrative information (used for debugging) and '
'determines\n'
- "where and how execution continues after the code block's "
+ 'where and how execution continues after the code block’s '
'execution has\n'
'completed.\n'
'\n'
@@ -4258,7 +4254,7 @@ topics = {'assert': 'The "assert" statement\n'
'nearest\n'
'enclosing scope. The set of all such scopes visible to a code '
'block\n'
- "is called the block's *environment*.\n"
+ 'is called the block’s *environment*.\n'
'\n'
'When a name is not found at all, a "NameError" exception is '
'raised. If\n'
@@ -4336,7 +4332,7 @@ topics = {'assert': 'The "assert" statement\n'
'the class. The scope of names defined in a class block is '
'limited to\n'
'the class block; it does not extend to the code blocks of '
- 'methods --\n'
+ 'methods –\n'
'this includes comprehensions and generator expressions since '
'they are\n'
'implemented using a function scope. This means that the '
@@ -4364,7 +4360,7 @@ topics = {'assert': 'The "assert" statement\n'
'global\n'
'namespace; this should be a dictionary or a module (in the '
'latter case\n'
- "the module's dictionary is used). By default, when in the "
+ 'the module’s dictionary is used). By default, when in the '
'"__main__"\n'
'module, "__builtins__" is the built-in module "builtins"; when '
'in any\n'
@@ -4419,7 +4415,7 @@ topics = {'assert': 'The "assert" statement\n'
'error (such as division by zero). A Python program can also\n'
'explicitly raise an exception with the "raise" statement. '
'Exception\n'
- 'handlers are specified with the "try" ... "except" statement. '
+ 'handlers are specified with the "try" … "except" statement. '
'The\n'
'"finally" clause of such a statement can be used to specify '
'cleanup\n'
@@ -4427,7 +4423,7 @@ topics = {'assert': 'The "assert" statement\n'
'whether an\n'
'exception occurred or not in the preceding code.\n'
'\n'
- 'Python uses the "termination" model of error handling: an '
+ 'Python uses the “termination” model of error handling: an '
'exception\n'
'handler can find out what happened and continue execution at an '
'outer\n'
@@ -4507,7 +4503,7 @@ topics = {'assert': 'The "assert" statement\n'
'(a.k.a. a\n'
'*singleton*); it is optional in all other cases. A single '
'expression\n'
- "without a trailing comma doesn't create a tuple, but rather "
+ 'without a trailing comma doesn’t create a tuple, but rather '
'yields the\n'
'value of that expression. (To create an empty tuple, use an '
'empty pair\n'
@@ -4568,8 +4564,7 @@ topics = {'assert': 'The "assert" statement\n'
'terminates.\n'
'\n'
'A "break" statement executed in the first suite terminates the loop\n'
- 'without executing the "else" clause\'s suite. A "continue" '
- 'statement\n'
+ 'without executing the "else" clause’s suite. A "continue" statement\n'
'executed in the first suite skips the rest of the suite and '
'continues\n'
'with the next item, or with the "else" clause if there is no next\n'
@@ -4591,7 +4586,7 @@ topics = {'assert': 'The "assert" statement\n'
'Names in the target list are not deleted when the loop is finished,\n'
'but if the sequence is empty, they will not have been assigned to at\n'
'all by the loop. Hint: the built-in function "range()" returns an\n'
- 'iterator of integers suitable to emulate the effect of Pascal\'s "for '
+ 'iterator of integers suitable to emulate the effect of Pascal’s "for '
'i\n'
':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, 2]".\n'
'\n'
@@ -4627,7 +4622,7 @@ topics = {'assert': 'The "assert" statement\n'
'are\n'
'differences.\n'
'\n'
- 'Format strings contain "replacement fields" surrounded by '
+ 'Format strings contain “replacement fields” surrounded by '
'curly braces\n'
'"{}". Anything that is not contained in braces is '
'considered literal\n'
@@ -4670,29 +4665,27 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'The *field_name* itself begins with an *arg_name* that is '
'either a\n'
- "number or a keyword. If it's a number, it refers to a "
+ 'number or a keyword. If it’s a number, it refers to a '
'positional\n'
- "argument, and if it's a keyword, it refers to a named "
+ 'argument, and if it’s a keyword, it refers to a named '
'keyword\n'
'argument. If the numerical arg_names in a format string '
'are 0, 1, 2,\n'
- '... in sequence, they can all be omitted (not just some) '
- 'and the\n'
- 'numbers 0, 1, 2, ... will be automatically inserted in that '
- 'order.\n'
- 'Because *arg_name* is not quote-delimited, it is not '
- 'possible to\n'
- 'specify arbitrary dictionary keys (e.g., the strings '
- '"\'10\'" or\n'
- '"\':-]\'") within a format string. The *arg_name* can be '
- 'followed by any\n'
- 'number of index or attribute expressions. An expression of '
- 'the form\n'
- '"\'.name\'" selects the named attribute using "getattr()", '
- 'while an\n'
- 'expression of the form "\'[index]\'" does an index lookup '
- 'using\n'
- '"__getitem__()".\n'
+ '… in sequence, they can all be omitted (not just some) and '
+ 'the numbers\n'
+ '0, 1, 2, … will be automatically inserted in that order. '
+ 'Because\n'
+ '*arg_name* is not quote-delimited, it is not possible to '
+ 'specify\n'
+ 'arbitrary dictionary keys (e.g., the strings "\'10\'" or '
+ '"\':-]\'") within\n'
+ 'a format string. The *arg_name* can be followed by any '
+ 'number of index\n'
+ 'or attribute expressions. An expression of the form '
+ '"\'.name\'" selects\n'
+ 'the named attribute using "getattr()", while an expression '
+ 'of the form\n'
+ '"\'[index]\'" does an index lookup using "__getitem__()".\n'
'\n'
'Changed in version 3.1: The positional argument specifiers '
'can be\n'
@@ -4747,7 +4740,7 @@ topics = {'assert': 'The "assert" statement\n'
'alignment,\n'
'padding, decimal precision and so on. Each value type can '
'define its\n'
- 'own "formatting mini-language" or interpretation of the '
+ 'own “formatting mini-language” or interpretation of the '
'*format_spec*.\n'
'\n'
'Most built-in types support a common formatting '
@@ -4773,7 +4766,7 @@ topics = {'assert': 'The "assert" statement\n'
'Format Specification Mini-Language\n'
'==================================\n'
'\n'
- '"Format specifications" are used within replacement fields '
+ '“Format specifications” are used within replacement fields '
'contained\n'
'within a format string to define how individual values are '
'presented\n'
@@ -4815,13 +4808,13 @@ topics = {'assert': 'The "assert" statement\n'
'character that can be any character and defaults to a space '
'if\n'
'omitted. It is not possible to use a literal curly brace '
- '(""{"" or\n'
- '""}"") as the *fill* character in a formatted string '
+ '(“"{"” or\n'
+ '“"}"”) as the *fill* character in a formatted string '
'literal or when\n'
'using the "str.format()" method. However, it is possible '
'to insert a\n'
'curly brace with a nested replacement field. This '
- "limitation doesn't\n"
+ 'limitation doesn’t\n'
'affect the "format()" function.\n'
'\n'
'The meaning of the various alignment options is as '
@@ -4850,10 +4843,10 @@ topics = {'assert': 'The "assert" statement\n'
'the sign (if any) |\n'
' | | but before the digits. This is used for '
'printing fields |\n'
- " | | in the form '+000000120'. This alignment "
+ ' | | in the form ‘+000000120’. This alignment '
'option is only |\n'
' | | valid for numeric types. It becomes the '
- "default when '0' |\n"
+ 'default when ‘0’ |\n'
' | | immediately precedes the field '
'width. |\n'
' '
@@ -4902,7 +4895,7 @@ topics = {'assert': 'The "assert" statement\n'
' '
'+-----------+------------------------------------------------------------+\n'
'\n'
- 'The "\'#\'" option causes the "alternate form" to be used '
+ 'The "\'#\'" option causes the “alternate form” to be used '
'for the\n'
'conversion. The alternate form is defined differently for '
'different\n'
@@ -5071,7 +5064,7 @@ topics = {'assert': 'The "assert" statement\n'
'+===========+============================================================+\n'
' | "\'e\'" | Exponent notation. Prints the number in '
'scientific |\n'
- " | | notation using the letter 'e' to indicate "
+ ' | | notation using the letter ‘e’ to indicate '
'the exponent. |\n'
' | | The default precision is '
'"6". |\n'
@@ -5079,7 +5072,7 @@ topics = {'assert': 'The "assert" statement\n'
'+-----------+------------------------------------------------------------+\n'
' | "\'E\'" | Exponent notation. Same as "\'e\'" '
'except it uses an upper |\n'
- " | | case 'E' as the separator "
+ ' | | case ‘E’ as the separator '
'character. |\n'
' '
'+-----------+------------------------------------------------------------+\n'
@@ -5216,7 +5209,7 @@ topics = {'assert': 'The "assert" statement\n'
"{longitude}'.format(**coord)\n"
" 'Coordinates: 37.24N, -115.81W'\n"
'\n'
- "Accessing arguments' attributes:\n"
+ 'Accessing arguments’ attributes:\n'
'\n'
' >>> c = 3-5j\n'
" >>> ('The complex number {0} is formed from the real "
@@ -5234,7 +5227,7 @@ topics = {'assert': 'The "assert" statement\n'
' >>> str(Point(4, 2))\n'
" 'Point(4, 2)'\n"
'\n'
- "Accessing arguments' items:\n"
+ 'Accessing arguments’ items:\n'
'\n'
' >>> coord = (3, 5)\n'
" >>> 'X: {0[0]}; Y: {0[1]}'.format(coord)\n"
@@ -5396,25 +5389,24 @@ topics = {'assert': 'The "assert" statement\n'
'"func".\n'
'\n'
'When one or more *parameters* have the form *parameter* "="\n'
- '*expression*, the function is said to have "default parameter '
- 'values."\n'
+ '*expression*, the function is said to have “default parameter '
+ 'values.”\n'
'For a parameter with a default value, the corresponding '
'*argument* may\n'
- "be omitted from a call, in which case the parameter's default "
+ 'be omitted from a call, in which case the parameter’s default '
'value is\n'
'substituted. If a parameter has a default value, all following\n'
- 'parameters up until the ""*"" must also have a default value --- '
- 'this\n'
- 'is a syntactic restriction that is not expressed by the '
- 'grammar.\n'
+ 'parameters up until the “"*"” must also have a default value — '
+ 'this is\n'
+ 'a syntactic restriction that is not expressed by the grammar.\n'
'\n'
'**Default parameter values are evaluated from left to right when '
'the\n'
'function definition is executed.** This means that the '
'expression is\n'
'evaluated once, when the function is defined, and that the same '
- '"pre-\n'
- 'computed" value is used for each call. This is especially '
+ '“pre-\n'
+ 'computed” value is used for each call. This is especially '
'important\n'
'to understand when a default parameter is a mutable object, such '
'as a\n'
@@ -5440,26 +5432,26 @@ topics = {'assert': 'The "assert" statement\n'
'mentioned in\n'
'the parameter list, either from position arguments, from '
'keyword\n'
- 'arguments, or from default values. If the form ""*identifier"" '
+ 'arguments, or from default values. If the form “"*identifier"” '
'is\n'
'present, it is initialized to a tuple receiving any excess '
'positional\n'
'parameters, defaulting to the empty tuple. If the form\n'
- '""**identifier"" is present, it is initialized to a new ordered\n'
+ '“"**identifier"” is present, it is initialized to a new ordered\n'
'mapping receiving any excess keyword arguments, defaulting to a '
'new\n'
- 'empty mapping of the same type. Parameters after ""*"" or\n'
- '""*identifier"" are keyword-only parameters and may only be '
+ 'empty mapping of the same type. Parameters after “"*"” or\n'
+ '“"*identifier"” are keyword-only parameters and may only be '
'passed\n'
'used keyword arguments.\n'
'\n'
- 'Parameters may have annotations of the form "": expression"" '
+ 'Parameters may have annotations of the form “": expression"” '
'following\n'
'the parameter name. Any parameter may have an annotation even '
'those\n'
'of the form "*identifier" or "**identifier". Functions may '
'have\n'
- '"return" annotation of the form ""-> expression"" after the '
+ '“return” annotation of the form “"-> expression"” after the '
'parameter\n'
'list. These annotations can be any valid Python expression and '
'are\n'
@@ -5469,7 +5461,7 @@ topics = {'assert': 'The "assert" statement\n'
'code.\n'
'The presence of annotations does not change the semantics of a\n'
'function. The annotation values are available as values of a\n'
- "dictionary keyed by the parameters' names in the "
+ 'dictionary keyed by the parameters’ names in the '
'"__annotations__"\n'
'attribute of the function object.\n'
'\n'
@@ -5480,16 +5472,16 @@ topics = {'assert': 'The "assert" statement\n'
'lambda\n'
'expression is merely a shorthand for a simplified function '
'definition;\n'
- 'a function defined in a ""def"" statement can be passed around '
+ 'a function defined in a “"def"” statement can be passed around '
'or\n'
'assigned to another name just like a function defined by a '
'lambda\n'
- 'expression. The ""def"" form is actually more powerful since '
+ 'expression. The “"def"” form is actually more powerful since '
'it\n'
'allows the execution of multiple statements and annotations.\n'
'\n'
- "**Programmer's note:** Functions are first-class objects. A "
- '""def""\n'
+ '**Programmer’s note:** Functions are first-class objects. A '
+ '“"def"”\n'
'statement executed inside a function definition defines a local\n'
'function that can be returned or passed around. Free variables '
'used\n'
@@ -5533,8 +5525,7 @@ topics = {'assert': 'The "assert" statement\n'
'change\n'
'the meaning of the program.\n'
'\n'
- '**Programmer\'s note:** "global" is a directive to the parser. '
- 'It\n'
+ '**Programmer’s note:** "global" is a directive to the parser. It\n'
'applies only to code parsed at the same time as the "global"\n'
'statement. In particular, a "global" statement contained in a '
'string\n'
@@ -5591,7 +5582,7 @@ topics = {'assert': 'The "assert" statement\n'
'within the\n'
' context of a class definition, are re-written to use a '
'mangled form\n'
- ' to help avoid name clashes between "private" attributes of '
+ ' to help avoid name clashes between “private” attributes of '
'base and\n'
' derived classes. See section Identifiers (Names).\n',
'identifiers': 'Identifiers and keywords\n'
@@ -5739,7 +5730,7 @@ topics = {'assert': 'The "assert" statement\n'
'within the\n'
' context of a class definition, are re-written to use a '
'mangled form\n'
- ' to help avoid name clashes between "private" attributes of '
+ ' to help avoid name clashes between “private” attributes of '
'base and\n'
' derived classes. See section Identifiers (Names).\n',
'if': 'The "if" statement\n'
@@ -5820,7 +5811,7 @@ topics = {'assert': 'The "assert" statement\n'
'either\n'
'that the module could not be located, *or* that an error occurred\n'
'while initializing the module, which includes execution of the\n'
- "module's code.\n"
+ 'module’s code.\n'
'\n'
'If the requested module is retrieved successfully, it will be '
'made\n'
@@ -5831,7 +5822,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'* If no other name is specified, and the module being imported is '
'a\n'
- " top level module, the module's name is bound in the local "
+ ' top level module, the module’s name is bound in the local '
'namespace\n'
' as a reference to the imported module\n'
'\n'
@@ -5884,7 +5875,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'The *public names* defined by a module are determined by checking '
'the\n'
- 'module\'s namespace for a variable named "__all__"; if defined, it '
+ 'module’s namespace for a variable named "__all__"; if defined, it '
'must\n'
'be a sequence of strings which are names defined or imported by '
'that\n'
@@ -5892,7 +5883,7 @@ topics = {'assert': 'The "assert" statement\n'
'and\n'
'are required to exist. If "__all__" is not defined, the set of '
'public\n'
- "names includes all names found in the module's namespace which do "
+ 'names includes all names found in the module’s namespace which do '
'not\n'
'begin with an underscore character ("\'_\'"). "__all__" should '
'contain\n'
@@ -5902,8 +5893,7 @@ topics = {'assert': 'The "assert" statement\n'
'were\n'
'imported and used within the module).\n'
'\n'
- 'The wild card form of import --- "from module import *" --- is '
- 'only\n'
+ 'The wild card form of import — "from module import *" — is only\n'
'allowed at the module level. Attempting to use it in class or\n'
'function definitions will raise a "SyntaxError".\n'
'\n'
@@ -6011,7 +6001,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' import __future__ [as name]\n'
'\n'
- "That is not a future statement; it's an ordinary import statement "
+ 'That is not a future statement; it’s an ordinary import statement '
'with\n'
'no special semantics or syntax restrictions.\n'
'\n'
@@ -6022,8 +6012,7 @@ topics = {'assert': 'The "assert" statement\n'
'the\n'
'future statement. This can be controlled by optional arguments '
'to\n'
- '"compile()" --- see the documentation of that function for '
- 'details.\n'
+ '"compile()" — see the documentation of that function for details.\n'
'\n'
'A future statement typed at an interactive interpreter prompt '
'will\n'
@@ -6130,13 +6119,13 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Lambda expressions (sometimes called lambda forms) are used to '
'create\n'
- 'anonymous functions. The expression "lambda arguments: '
+ 'anonymous functions. The expression "lambda parameters: '
'expression"\n'
'yields a function object. The unnamed object behaves like a '
'function\n'
'object defined with:\n'
'\n'
- ' def <lambda>(arguments):\n'
+ ' def <lambda>(parameters):\n'
' return expression\n'
'\n'
'See section Function definitions for the syntax of parameter '
@@ -6229,7 +6218,7 @@ topics = {'assert': 'The "assert" statement\n'
'nearest\n'
'enclosing scope. The set of all such scopes visible to a code '
'block\n'
- "is called the block's *environment*.\n"
+ 'is called the block’s *environment*.\n'
'\n'
'When a name is not found at all, a "NameError" exception is '
'raised. If\n'
@@ -6303,7 +6292,7 @@ topics = {'assert': 'The "assert" statement\n'
'the class. The scope of names defined in a class block is limited '
'to\n'
'the class block; it does not extend to the code blocks of methods '
- '--\n'
+ '–\n'
'this includes comprehensions and generator expressions since they '
'are\n'
'implemented using a function scope. This means that the '
@@ -6330,7 +6319,7 @@ topics = {'assert': 'The "assert" statement\n'
'global\n'
'namespace; this should be a dictionary or a module (in the latter '
'case\n'
- "the module's dictionary is used). By default, when in the "
+ 'the module’s dictionary is used). By default, when in the '
'"__main__"\n'
'module, "__builtins__" is the built-in module "builtins"; when in '
'any\n'
@@ -6406,7 +6395,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Note that numeric literals do not include a sign; a phrase like '
'"-1"\n'
- 'is actually an expression composed of the unary operator \'"-"\' '
+ 'is actually an expression composed of the unary operator ‘"-"‘ '
'and the\n'
'literal "1".\n',
'numeric-types': 'Emulating numeric types\n'
@@ -6496,15 +6485,15 @@ topics = {'assert': 'The "assert" statement\n'
'"__rpow__()" (the\n'
' coercion rules would become too complicated).\n'
'\n'
- " Note: If the right operand's type is a subclass of the "
+ ' Note: If the right operand’s type is a subclass of the '
'left\n'
- " operand's type and that subclass provides the "
+ ' operand’s type and that subclass provides the '
'reflected method\n'
' for the operation, this method will be called before '
'the left\n'
- " operand's non-reflected method. This behavior allows "
+ ' operand’s non-reflected method. This behavior allows '
'subclasses\n'
- " to override their ancestors' operations.\n"
+ ' to override their ancestors’ operations.\n'
'\n'
'object.__iadd__(self, other)\n'
'object.__isub__(self, other)\n'
@@ -6542,7 +6531,7 @@ topics = {'assert': 'The "assert" statement\n'
'certain\n'
' situations, augmented assignment can result in '
'unexpected errors\n'
- " (see Why does a_tuple[i] += ['item'] raise an exception "
+ ' (see Why does a_tuple[i] += [‘item’] raise an exception '
'when the\n'
' addition works?), but this behavior is in fact part of '
'the data\n'
@@ -6604,18 +6593,18 @@ topics = {'assert': 'The "assert" statement\n'
'objects': 'Objects, values and types\n'
'*************************\n'
'\n'
- "*Objects* are Python's abstraction for data. All data in a "
+ '*Objects* are Python’s abstraction for data. All data in a '
'Python\n'
'program is represented by objects or by relations between '
'objects. (In\n'
- 'a sense, and in conformance to Von Neumann\'s model of a "stored\n'
- 'program computer," code is also represented by objects.)\n'
+ 'a sense, and in conformance to Von Neumann’s model of a “stored\n'
+ 'program computer,” code is also represented by objects.)\n'
'\n'
- "Every object has an identity, a type and a value. An object's\n"
+ 'Every object has an identity, a type and a value. An object’s\n'
'*identity* never changes once it has been created; you may think '
'of it\n'
- 'as the object\'s address in memory. The \'"is"\' operator '
- 'compares the\n'
+ 'as the object’s address in memory. The ‘"is"’ operator compares '
+ 'the\n'
'identity of two objects; the "id()" function returns an integer\n'
'representing its identity.\n'
'\n'
@@ -6623,14 +6612,14 @@ topics = {'assert': 'The "assert" statement\n'
'memory\n'
'address where "x" is stored.\n'
'\n'
- "An object's type determines the operations that the object "
+ 'An object’s type determines the operations that the object '
'supports\n'
- '(e.g., "does it have a length?") and also defines the possible '
+ '(e.g., “does it have a length?”) and also defines the possible '
'values\n'
'for objects of that type. The "type()" function returns an '
- "object's\n"
+ 'object’s\n'
'type (which is an object itself). Like its identity, an '
- "object's\n"
+ 'object’s\n'
'*type* is also unchangeable. [1]\n'
'\n'
'The *value* of some objects can change. Objects whose value can\n'
@@ -6639,14 +6628,14 @@ topics = {'assert': 'The "assert" statement\n'
'once they are created are called *immutable*. (The value of an\n'
'immutable container object that contains a reference to a '
'mutable\n'
- "object can change when the latter's value is changed; however "
+ 'object can change when the latter’s value is changed; however '
'the\n'
'container is still considered immutable, because the collection '
'of\n'
'objects it contains cannot be changed. So, immutability is not\n'
'strictly the same as having an unchangeable value, it is more '
'subtle.)\n'
- "An object's mutability is determined by its type; for instance,\n"
+ 'An object’s mutability is determined by its type; for instance,\n'
'numbers, strings and tuples are immutable, while dictionaries '
'and\n'
'lists are mutable.\n'
@@ -6654,9 +6643,9 @@ topics = {'assert': 'The "assert" statement\n'
'Objects are never explicitly destroyed; however, when they '
'become\n'
'unreachable they may be garbage-collected. An implementation is\n'
- 'allowed to postpone garbage collection or omit it altogether --- '
- 'it is\n'
- 'a matter of implementation quality how garbage collection is\n'
+ 'allowed to postpone garbage collection or omit it altogether — it '
+ 'is a\n'
+ 'matter of implementation quality how garbage collection is\n'
'implemented, as long as no objects are collected that are still\n'
'reachable.\n'
'\n'
@@ -6676,13 +6665,14 @@ topics = {'assert': 'The "assert" statement\n'
'(so\n'
'you should always close files explicitly).\n'
'\n'
- "Note that the use of the implementation's tracing or debugging\n"
+ 'Note that the use of the implementation’s tracing or debugging\n'
'facilities may keep objects alive that would normally be '
'collectable.\n'
- 'Also note that catching an exception with a \'"try"..."except"\'\n'
- 'statement may keep objects alive.\n'
+ 'Also note that catching an exception with a ‘"try"…"except"’ '
+ 'statement\n'
+ 'may keep objects alive.\n'
'\n'
- 'Some objects contain references to "external" resources such as '
+ 'Some objects contain references to “external” resources such as '
'open\n'
'files or windows. It is understood that these resources are '
'freed\n'
@@ -6693,14 +6683,13 @@ topics = {'assert': 'The "assert" statement\n'
'release the external resource, usually a "close()" method. '
'Programs\n'
'are strongly recommended to explicitly close such objects. The\n'
- '\'"try"..."finally"\' statement and the \'"with"\' statement '
- 'provide\n'
+ '‘"try"…"finally"’ statement and the ‘"with"’ statement provide\n'
'convenient ways to do this.\n'
'\n'
'Some objects contain references to other objects; these are '
'called\n'
'*containers*. Examples of containers are tuples, lists and\n'
- "dictionaries. The references are part of a container's value. "
+ 'dictionaries. The references are part of a container’s value. '
'In\n'
'most cases, when we talk about the value of a container, we imply '
'the\n'
@@ -6757,7 +6746,7 @@ topics = {'assert': 'The "assert" statement\n'
'| "lambda" | '
'Lambda expression |\n'
'+-------------------------------------------------+---------------------------------------+\n'
- '| "if" -- "else" | '
+ '| "if" – "else" | '
'Conditional expression |\n'
'+-------------------------------------------------+---------------------------------------+\n'
'| "or" | '
@@ -6840,7 +6829,7 @@ topics = {'assert': 'The "assert" statement\n'
'application.\n'
'\n'
'[2] If x is very close to an exact integer multiple of '
- "y, it's\n"
+ 'y, it’s\n'
' possible for "x//y" to be one larger than '
'"(x-x%y)//y" due to\n'
' rounding. In such cases, Python returns the latter '
@@ -6851,8 +6840,8 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'[3] The Unicode standard distinguishes between *code '
'points* (e.g.\n'
- ' U+0041) and *abstract characters* (e.g. "LATIN '
- 'CAPITAL LETTER A").\n'
+ ' U+0041) and *abstract characters* (e.g. “LATIN '
+ 'CAPITAL LETTER A”).\n'
' While most abstract characters in Unicode are only '
'represented\n'
' using one code point, there is a number of abstract '
@@ -6860,8 +6849,8 @@ topics = {'assert': 'The "assert" statement\n'
' that can in addition be represented using a sequence '
'of more than\n'
' one code point. For example, the abstract character '
- '"LATIN\n'
- ' CAPITAL LETTER C WITH CEDILLA" can be represented as '
+ '“LATIN\n'
+ ' CAPITAL LETTER C WITH CEDILLA” can be represented as '
'a single\n'
' *precomposed character* at code position U+00C7, or '
'as a sequence\n'
@@ -6877,9 +6866,9 @@ topics = {'assert': 'The "assert" statement\n'
'to humans. For\n'
' example, ""\\u00C7" == "\\u0043\\u0327"" is "False", '
'even though both\n'
- ' strings represent the same abstract character "LATIN '
+ ' strings represent the same abstract character “LATIN '
'CAPITAL\n'
- ' LETTER C WITH CEDILLA".\n'
+ ' LETTER C WITH CEDILLA”.\n'
'\n'
' To compare strings at the level of abstract '
'characters (that is,\n'
@@ -6909,10 +6898,11 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' pass_stmt ::= "pass"\n'
'\n'
- '"pass" is a null operation --- when it is executed, nothing '
- 'happens.\n'
- 'It is useful as a placeholder when a statement is required\n'
- 'syntactically, but no code needs to be executed, for example:\n'
+ '"pass" is a null operation — when it is executed, nothing happens. '
+ 'It\n'
+ 'is useful as a placeholder when a statement is required '
+ 'syntactically,\n'
+ 'but no code needs to be executed, for example:\n'
'\n'
' def f(arg): pass # a function that does nothing (yet)\n'
'\n'
@@ -6968,7 +6958,7 @@ topics = {'assert': 'The "assert" statement\n'
'"BaseException". If it is a class, the exception instance will be\n'
'obtained when needed by instantiating the class with no arguments.\n'
'\n'
- "The *type* of the exception is the exception instance's class, the\n"
+ 'The *type* of the exception is the exception instance’s class, the\n'
'*value* is the instance itself.\n'
'\n'
'A traceback object is normally created automatically when an '
@@ -7014,7 +7004,7 @@ topics = {'assert': 'The "assert" statement\n'
'inside\n'
'an exception handler or a "finally" clause: the previous exception '
'is\n'
- 'then attached as the new exception\'s "__context__" attribute:\n'
+ 'then attached as the new exception’s "__context__" attribute:\n'
'\n'
' >>> try:\n'
' ... print(1 / 0)\n'
@@ -7114,7 +7104,7 @@ topics = {'assert': 'The "assert" statement\n'
'"clear()",\n'
'"setdefault()", "pop()", "popitem()", "copy()", and '
'"update()"\n'
- "behaving similar to those for Python's standard dictionary "
+ 'behaving similar to those for Python’s standard dictionary '
'objects.\n'
'The "collections" module provides a "MutableMapping" '
'abstract base\n'
@@ -7140,7 +7130,7 @@ topics = {'assert': 'The "assert" statement\n'
'the\n'
'"__contains__()" method to allow efficient use of the "in" '
'operator;\n'
- 'for mappings, "in" should search the mapping\'s keys; for '
+ 'for mappings, "in" should search the mapping’s keys; for '
'sequences, it\n'
'should search through the values. It is further '
'recommended that both\n'
@@ -7158,7 +7148,7 @@ topics = {'assert': 'The "assert" statement\n'
'Should return\n'
' the length of the object, an integer ">=" 0. Also, an '
'object that\n'
- ' doesn\'t define a "__bool__()" method and whose '
+ ' doesn’t define a "__bool__()" method and whose '
'"__len__()" method\n'
' returns zero is considered to be false in a Boolean '
'context.\n'
@@ -7315,7 +7305,7 @@ topics = {'assert': 'The "assert" statement\n'
'values or\n'
' the key-item pairs.\n'
'\n'
- ' For objects that don\'t define "__contains__()", the '
+ ' For objects that don’t define "__contains__()", the '
'membership test\n'
' first tries iteration via "__iter__()", then the old '
'sequence\n'
@@ -7409,7 +7399,7 @@ topics = {'assert': 'The "assert" statement\n'
'object.__dict__\n'
'\n'
' A dictionary or other mapping object used to store an '
- "object's\n"
+ 'object’s\n'
' (writable) attributes.\n'
'\n'
'instance.__class__\n'
@@ -7469,15 +7459,15 @@ topics = {'assert': 'The "assert" statement\n'
'to\n'
' "[1.0, 2.0]", and similarly for tuples.\n'
'\n'
- "[3] They must have since the parser can't tell the type of "
+ '[3] They must have since the parser can’t tell the type of '
'the\n'
' operands.\n'
'\n'
'[4] Cased characters are those with general category '
'property\n'
- ' being one of "Lu" (Letter, uppercase), "Ll" (Letter, '
+ ' being one of “Lu” (Letter, uppercase), “Ll” (Letter, '
'lowercase),\n'
- ' or "Lt" (Letter, titlecase).\n'
+ ' or “Lt” (Letter, titlecase).\n'
'\n'
'[5] To format only a tuple you should therefore provide a\n'
' singleton tuple whose only element is the tuple to be '
@@ -7489,7 +7479,7 @@ topics = {'assert': 'The "assert" statement\n'
'special\n'
'syntax (such as arithmetic operations or subscripting and '
'slicing) by\n'
- "defining methods with special names. This is Python's "
+ 'defining methods with special names. This is Python’s '
'approach to\n'
'*operator overloading*, allowing classes to define their own '
'behavior\n'
@@ -7523,7 +7513,7 @@ topics = {'assert': 'The "assert" statement\n'
'elements, but\n'
'extracting a slice may not make sense. (One example of this '
'is the\n'
- '"NodeList" interface in the W3C\'s Document Object Model.)\n'
+ '"NodeList" interface in the W3C’s Document Object Model.)\n'
'\n'
'\n'
'Basic customization\n'
@@ -7547,7 +7537,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Typical implementations create a new instance of the '
'class by\n'
- ' invoking the superclass\'s "__new__()" method using\n'
+ ' invoking the superclass’s "__new__()" method using\n'
' "super().__new__(cls[, ...])" with appropriate arguments '
'and then\n'
' modifying the newly-created instance as necessary before '
@@ -7556,7 +7546,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' If "__new__()" returns an instance of *cls*, then the '
'new\n'
- ' instance\'s "__init__()" method will be invoked like\n'
+ ' instance’s "__init__()" method will be invoked like\n'
' "__init__(self[, ...])", where *self* is the new instance '
'and the\n'
' remaining arguments are the same as were passed to '
@@ -7564,7 +7554,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' If "__new__()" does not return an instance of *cls*, then '
'the new\n'
- ' instance\'s "__init__()" method will not be invoked.\n'
+ ' instance’s "__init__()" method will not be invoked.\n'
'\n'
' "__new__()" is intended mainly to allow subclasses of '
'immutable\n'
@@ -7582,7 +7572,7 @@ topics = {'assert': 'The "assert" statement\n'
'those\n'
' passed to the class constructor expression. If a base '
'class has an\n'
- ' "__init__()" method, the derived class\'s "__init__()" '
+ ' "__init__()" method, the derived class’s "__init__()" '
'method, if\n'
' any, must explicitly call it to ensure proper '
'initialization of the\n'
@@ -7603,8 +7593,8 @@ topics = {'assert': 'The "assert" statement\n'
'is also\n'
' called a finalizer or (improperly) a destructor. If a '
'base class\n'
- ' has a "__del__()" method, the derived class\'s '
- '"__del__()" method,\n'
+ ' has a "__del__()" method, the derived class’s "__del__()" '
+ 'method,\n'
' if any, must explicitly call it to ensure proper deletion '
'of the\n'
' base class part of the instance.\n'
@@ -7624,11 +7614,11 @@ topics = {'assert': 'The "assert" statement\n'
'for\n'
' objects that still exist when the interpreter exits.\n'
'\n'
- ' Note: "del x" doesn\'t directly call "x.__del__()" --- '
- 'the former\n'
+ ' Note: "del x" doesn’t directly call "x.__del__()" — the '
+ 'former\n'
' decrements the reference count for "x" by one, and the '
'latter is\n'
- ' only called when "x"\'s reference count reaches zero.\n'
+ ' only called when "x"’s reference count reaches zero.\n'
'\n'
' **CPython implementation detail:** It is possible for a '
'reference\n'
@@ -7640,7 +7630,7 @@ topics = {'assert': 'The "assert" statement\n'
'reference\n'
' cycles is when an exception has been caught in a local '
'variable.\n'
- " The frame's locals then reference the exception, which "
+ ' The frame’s locals then reference the exception, which '
'references\n'
' its own traceback, which references the locals of all '
'frames caught\n'
@@ -7686,7 +7676,7 @@ topics = {'assert': 'The "assert" statement\n'
'object.__repr__(self)\n'
'\n'
' Called by the "repr()" built-in function to compute the '
- '"official"\n'
+ '“official”\n'
' string representation of an object. If at all possible, '
'this\n'
' should look like a valid Python expression that could be '
@@ -7700,7 +7690,7 @@ topics = {'assert': 'The "assert" statement\n'
' value must be a string object. If a class defines '
'"__repr__()" but\n'
' not "__str__()", then "__repr__()" is also used when an '
- '"informal"\n'
+ '“informal”\n'
' string representation of instances of that class is '
'required.\n'
'\n'
@@ -7712,7 +7702,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Called by "str(object)" and the built-in functions '
'"format()" and\n'
- ' "print()" to compute the "informal" or nicely printable '
+ ' "print()" to compute the “informal” or nicely printable '
'string\n'
' representation of an object. The return value must be a '
'string\n'
@@ -7740,7 +7730,7 @@ topics = {'assert': 'The "assert" statement\n'
'extension,\n'
' evaluation of formatted string literals and the '
'"str.format()"\n'
- ' method, to produce a "formatted" string representation of '
+ ' method, to produce a “formatted” string representation of '
'an\n'
' object. The "format_spec" argument is a string that '
'contains a\n'
@@ -7771,7 +7761,7 @@ topics = {'assert': 'The "assert" statement\n'
'object.__gt__(self, other)\n'
'object.__ge__(self, other)\n'
'\n'
- ' These are the so-called "rich comparison" methods. The\n'
+ ' These are the so-called “rich comparison” methods. The\n'
' correspondence between operator symbols and method names '
'is as\n'
' follows: "x<y" calls "x.__lt__(y)", "x<=y" calls '
@@ -7818,18 +7808,18 @@ topics = {'assert': 'The "assert" statement\n'
' when the left argument does not support the operation but '
'the right\n'
' argument does); rather, "__lt__()" and "__gt__()" are '
- "each other's\n"
- ' reflection, "__le__()" and "__ge__()" are each other\'s '
+ 'each other’s\n'
+ ' reflection, "__le__()" and "__ge__()" are each other’s '
'reflection,\n'
' and "__eq__()" and "__ne__()" are their own reflection. '
'If the\n'
- " operands are of different types, and right operand's type "
+ ' operands are of different types, and right operand’s type '
'is a\n'
- " direct or indirect subclass of the left operand's type, "
+ ' direct or indirect subclass of the left operand’s type, '
'the\n'
' reflected method of the right operand has priority, '
'otherwise the\n'
- " left operand's method has priority. Virtual subclassing "
+ ' left operand’s method has priority. Virtual subclassing '
'is not\n'
' considered.\n'
'\n'
@@ -7853,13 +7843,13 @@ topics = {'assert': 'The "assert" statement\n'
' return hash((self.name, self.nick, self.color))\n'
'\n'
' Note: "hash()" truncates the value returned from an '
- "object's\n"
+ 'object’s\n'
' custom "__hash__()" method to the size of a '
'"Py_ssize_t". This\n'
' is typically 8 bytes on 64-bit builds and 4 bytes on '
'32-bit\n'
- ' builds. If an object\'s "__hash__()" must '
- 'interoperate on builds\n'
+ ' builds. If an object’s "__hash__()" must interoperate '
+ 'on builds\n'
' of different bit sizes, be sure to check the width on '
'all\n'
' supported builds. An easy way to do this is with '
@@ -7877,8 +7867,8 @@ topics = {'assert': 'The "assert" statement\n'
' implements an "__eq__()" method, it should not implement\n'
' "__hash__()", since the implementation of hashable '
'collections\n'
- " requires that a key's hash value is immutable (if the "
- "object's hash\n"
+ ' requires that a key’s hash value is immutable (if the '
+ 'object’s hash\n'
' value changes, it will be in the wrong hash bucket).\n'
'\n'
' User-defined classes have "__eq__()" and "__hash__()" '
@@ -7922,7 +7912,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Note: By default, the "__hash__()" values of str, bytes '
'and\n'
- ' datetime objects are "salted" with an unpredictable '
+ ' datetime objects are “salted” with an unpredictable '
'random value.\n'
' Although they remain constant within an individual '
'Python\n'
@@ -8087,11 +8077,11 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Note: Setting module "__class__" only affects lookups made '
'using the\n'
- ' attribute access syntax -- directly accessing the module '
+ ' attribute access syntax – directly accessing the module '
'globals\n'
' (whether by code within the module, or via a reference to '
'the\n'
- " module's globals dictionary) is unaffected.\n"
+ ' module’s globals dictionary) is unaffected.\n'
'\n'
'Changed in version 3.5: "__class__" module attribute is now '
'writable.\n'
@@ -8104,13 +8094,13 @@ topics = {'assert': 'The "assert" statement\n'
'class\n'
'containing the method (a so-called *descriptor* class) '
'appears in an\n'
- "*owner* class (the descriptor must be in either the owner's "
+ '*owner* class (the descriptor must be in either the owner’s '
'class\n'
'dictionary or in the class dictionary for one of its '
'parents). In the\n'
- 'examples below, "the attribute" refers to the attribute '
+ 'examples below, “the attribute” refers to the attribute '
'whose name is\n'
- 'the key of the property in the owner class\' "__dict__".\n'
+ 'the key of the property in the owner class’ "__dict__".\n'
'\n'
'object.__get__(self, instance, owner)\n'
'\n'
@@ -8167,8 +8157,8 @@ topics = {'assert': 'The "assert" statement\n'
'--------------------\n'
'\n'
'In general, a descriptor is an object attribute with '
- '"binding\n'
- 'behavior", one whose attribute access has been overridden by '
+ '“binding\n'
+ 'behavior”, one whose attribute access has been overridden by '
'methods\n'
'in the descriptor protocol: "__get__()", "__set__()", and\n'
'"__delete__()". If any of those methods are defined for an '
@@ -8177,7 +8167,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'The default behavior for attribute access is to get, set, or '
'delete\n'
- "the attribute from an object's dictionary. For instance, "
+ 'the attribute from an object’s dictionary. For instance, '
'"a.x" has a\n'
'lookup chain starting with "a.__dict__[\'x\']", then\n'
'"type(a).__dict__[\'x\']", and continuing through the base '
@@ -8231,7 +8221,7 @@ topics = {'assert': 'The "assert" statement\n'
'does not define "__get__()", then accessing the attribute '
'will return\n'
'the descriptor object itself unless there is a value in the '
- "object's\n"
+ 'object’s\n'
'instance dictionary. If the descriptor defines "__set__()" '
'and/or\n'
'"__delete__()", it is a data descriptor; if it defines '
@@ -8349,7 +8339,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'* Nonempty *__slots__* does not work for classes derived '
'from\n'
- ' "variable-length" built-in types such as "int", "bytes" '
+ ' “variable-length” built-in types such as "int", "bytes" '
'and "tuple".\n'
'\n'
'* Any non-string iterable may be assigned to *__slots__*. '
@@ -8382,7 +8372,7 @@ topics = {'assert': 'The "assert" statement\n'
'to class\n'
'decorators, but where class decorators only affect the '
'specific class\n'
- 'they\'re applied to, "__init_subclass__" solely applies to '
+ 'they’re applied to, "__init_subclass__" solely applies to '
'future\n'
'subclasses of the class defining the method.\n'
'\n'
@@ -8397,7 +8387,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Keyword arguments which are given to a new class are '
'passed to the\n'
- ' parent\'s class "__init_subclass__". For compatibility '
+ ' parent’s class "__init_subclass__". For compatibility '
'with other\n'
' classes using "__init_subclass__", one should take out '
'the needed\n'
@@ -8592,7 +8582,7 @@ topics = {'assert': 'The "assert" statement\n'
'initialised\n'
'correctly. Failing to do so will result in a '
'"DeprecationWarning" in\n'
- 'Python 3.6, and a "RuntimeWarning" in the future.\n'
+ 'Python 3.6, and a "RuntimeError" in Python 3.8.\n'
'\n'
'When using the default metaclass "type", or any metaclass '
'that\n'
@@ -8675,7 +8665,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'When the class definition for *A* gets executed, the process '
'begins\n'
- 'with calling the metaclass\'s "__prepare__()" method which '
+ 'with calling the metaclass’s "__prepare__()" method which '
'returns an\n'
'empty "collections.OrderedDict". That mapping records the '
'methods and\n'
@@ -8683,7 +8673,7 @@ topics = {'assert': 'The "assert" statement\n'
'class\n'
'statement. Once those definitions are executed, the ordered '
'dictionary\n'
- 'is fully populated and the metaclass\'s "__new__()" method '
+ 'is fully populated and the metaclass’s "__new__()" method '
'gets\n'
'invoked. That method builds the new type and it saves the '
'ordered\n'
@@ -8701,7 +8691,7 @@ topics = {'assert': 'The "assert" statement\n'
'methods in\n'
'order to allow the addition of Abstract Base Classes (ABCs) '
'as\n'
- '"virtual base classes" to any class or type (including '
+ '“virtual base classes” to any class or type (including '
'built-in\n'
'types), including other ABCs.\n'
'\n'
@@ -8749,7 +8739,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'object.__call__(self[, args...])\n'
'\n'
- ' Called when the instance is "called" as a function; if '
+ ' Called when the instance is “called” as a function; if '
'this method\n'
' is defined, "x(arg1, arg2, ...)" is a shorthand for\n'
' "x.__call__(arg1, arg2, ...)".\n'
@@ -8778,7 +8768,7 @@ topics = {'assert': 'The "assert" statement\n'
'"clear()",\n'
'"setdefault()", "pop()", "popitem()", "copy()", and '
'"update()"\n'
- "behaving similar to those for Python's standard dictionary "
+ 'behaving similar to those for Python’s standard dictionary '
'objects.\n'
'The "collections" module provides a "MutableMapping" '
'abstract base\n'
@@ -8803,7 +8793,7 @@ topics = {'assert': 'The "assert" statement\n'
'recommended that both mappings and sequences implement the\n'
'"__contains__()" method to allow efficient use of the "in" '
'operator;\n'
- 'for mappings, "in" should search the mapping\'s keys; for '
+ 'for mappings, "in" should search the mapping’s keys; for '
'sequences, it\n'
'should search through the values. It is further recommended '
'that both\n'
@@ -8821,7 +8811,7 @@ topics = {'assert': 'The "assert" statement\n'
'Should return\n'
' the length of the object, an integer ">=" 0. Also, an '
'object that\n'
- ' doesn\'t define a "__bool__()" method and whose '
+ ' doesn’t define a "__bool__()" method and whose '
'"__len__()" method\n'
' returns zero is considered to be false in a Boolean '
'context.\n'
@@ -8977,7 +8967,7 @@ topics = {'assert': 'The "assert" statement\n'
'values or\n'
' the key-item pairs.\n'
'\n'
- ' For objects that don\'t define "__contains__()", the '
+ ' For objects that don’t define "__contains__()", the '
'membership test\n'
' first tries iteration via "__iter__()", then the old '
'sequence\n'
@@ -9073,15 +9063,15 @@ topics = {'assert': 'The "assert" statement\n'
'"__rpow__()" (the\n'
' coercion rules would become too complicated).\n'
'\n'
- " Note: If the right operand's type is a subclass of the "
+ ' Note: If the right operand’s type is a subclass of the '
'left\n'
- " operand's type and that subclass provides the reflected "
+ ' operand’s type and that subclass provides the reflected '
'method\n'
' for the operation, this method will be called before '
'the left\n'
- " operand's non-reflected method. This behavior allows "
+ ' operand’s non-reflected method. This behavior allows '
'subclasses\n'
- " to override their ancestors' operations.\n"
+ ' to override their ancestors’ operations.\n'
'\n'
'object.__iadd__(self, other)\n'
'object.__isub__(self, other)\n'
@@ -9119,7 +9109,7 @@ topics = {'assert': 'The "assert" statement\n'
'certain\n'
' situations, augmented assignment can result in unexpected '
'errors\n'
- " (see Why does a_tuple[i] += ['item'] raise an exception "
+ ' (see Why does a_tuple[i] += [‘item’] raise an exception '
'when the\n'
' addition works?), but this behavior is in fact part of '
'the data\n'
@@ -9209,7 +9199,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Enter the runtime context related to this object. The '
'"with"\n'
- " statement will bind this method's return value to the "
+ ' statement will bind this method’s return value to the '
'target(s)\n'
' specified in the "as" clause of the statement, if any.\n'
'\n'
@@ -9233,11 +9223,11 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Note that "__exit__()" methods should not reraise the '
'passed-in\n'
- " exception; this is the caller's responsibility.\n"
+ ' exception; this is the caller’s responsibility.\n'
'\n'
'See also:\n'
'\n'
- ' **PEP 343** - The "with" statement\n'
+ ' **PEP 343** - The “with” statement\n'
' The specification, background, and examples for the '
'Python "with"\n'
' statement.\n'
@@ -9248,9 +9238,9 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'For custom classes, implicit invocations of special methods '
'are only\n'
- "guaranteed to work correctly if defined on an object's type, "
+ 'guaranteed to work correctly if defined on an object’s type, '
'not in\n'
- "the object's instance dictionary. That behaviour is the "
+ 'the object’s instance dictionary. That behaviour is the '
'reason why\n'
'the following code raises an exception:\n'
'\n'
@@ -9284,7 +9274,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Incorrectly attempting to invoke an unbound method of a '
'class in this\n'
- "way is sometimes referred to as 'metaclass confusion', and "
+ 'way is sometimes referred to as ‘metaclass confusion’, and '
'is avoided\n'
'by bypassing the instance when looking up special methods:\n'
'\n'
@@ -9297,7 +9287,7 @@ topics = {'assert': 'The "assert" statement\n'
'interest of\n'
'correctness, implicit special method lookup generally also '
'bypasses\n'
- 'the "__getattribute__()" method even of the object\'s '
+ 'the "__getattribute__()" method even of the object’s '
'metaclass:\n'
'\n'
' >>> class Meta(type):\n'
@@ -9577,11 +9567,11 @@ topics = {'assert': 'The "assert" statement\n'
'Alphabetic\n'
' characters are those characters defined in the Unicode '
'character\n'
- ' database as "Letter", i.e., those with general category '
+ ' database as “Letter”, i.e., those with general category '
'property\n'
- ' being one of "Lm", "Lt", "Lu", "Ll", or "Lo". Note '
+ ' being one of “Lm”, “Lt”, “Lu”, “Ll”, or “Lo”. Note '
'that this is\n'
- ' different from the "Alphabetic" property defined in the '
+ ' different from the “Alphabetic” property defined in the '
'Unicode\n'
' Standard.\n'
'\n'
@@ -9595,7 +9585,7 @@ topics = {'assert': 'The "assert" statement\n'
'in base 10,\n'
' e.g. U+0660, ARABIC-INDIC DIGIT ZERO. Formally a '
'decimal character\n'
- ' is a character in the Unicode General Category "Nd".\n'
+ ' is a character in the Unicode General Category “Nd”.\n'
'\n'
'str.isdigit()\n'
'\n'
@@ -9654,7 +9644,7 @@ topics = {'assert': 'The "assert" statement\n'
'characters are\n'
' those characters defined in the Unicode character '
'database as\n'
- ' "Other" or "Separator", excepting the ASCII space '
+ ' “Other” or “Separator”, excepting the ASCII space '
'(0x20) which is\n'
' considered printable. (Note that printable characters '
'in this\n'
@@ -9672,9 +9662,9 @@ topics = {'assert': 'The "assert" statement\n'
'Whitespace\n'
' characters are those characters defined in the Unicode '
'character\n'
- ' database as "Other" or "Separator" and those with '
+ ' database as “Other” or “Separator” and those with '
'bidirectional\n'
- ' property being one of "WS", "B", or "S".\n'
+ ' property being one of “WS”, “B”, or “S”.\n'
'\n'
'str.istitle()\n'
'\n'
@@ -10132,9 +10122,9 @@ topics = {'assert': 'The "assert" statement\n'
'"str.upper().isupper()" might be\n'
' "False" if "s" contains uncased characters or if the '
'Unicode\n'
- ' category of the resulting character(s) is not "Lu" '
+ ' category of the resulting character(s) is not “Lu” '
'(Letter,\n'
- ' uppercase), but e.g. "Lt" (Letter, titlecase).\n'
+ ' uppercase), but e.g. “Lt” (Letter, titlecase).\n'
'\n'
' The uppercasing algorithm used is described in section '
'3.13 of the\n'
@@ -10229,9 +10219,9 @@ topics = {'assert': 'The "assert" statement\n'
'literals,\n'
'"\'\\U\'" and "\'\\u\'" escapes in raw strings are not treated '
'specially.\n'
- "Given that Python 2.x's raw unicode literals behave differently "
+ 'Given that Python 2.x’s raw unicode literals behave differently '
'than\n'
- 'Python 3.x\'s the "\'ur\'" syntax is not supported.\n'
+ 'Python 3.x’s the "\'ur\'" syntax is not supported.\n'
'\n'
'New in version 3.3: The "\'rb\'" prefix of raw bytes literals has '
'been\n'
@@ -10255,7 +10245,7 @@ topics = {'assert': 'The "assert" statement\n'
'In triple-quoted literals, unescaped newlines and quotes are '
'allowed\n'
'(and are retained), except that three unescaped quotes in a row\n'
- 'terminate the literal. (A "quote" is the character used to open '
+ 'terminate the literal. (A “quote” is the character used to open '
'the\n'
'literal, i.e. either "\'" or """.)\n'
'\n'
@@ -10434,13 +10424,13 @@ topics = {'assert': 'The "assert" statement\n'
'item whose\n'
'index is that value (counting from zero). Since the support '
'for\n'
- "negative indices and slicing occurs in the object's "
+ 'negative indices and slicing occurs in the object’s '
'"__getitem__()"\n'
'method, subclasses overriding this method will need to '
'explicitly add\n'
'that support.\n'
'\n'
- "A string's items are characters. A character is not a "
+ 'A string’s items are characters. A character is not a '
'separate data\n'
'type but a string of exactly one character.\n',
'truth': 'Truth Value Testing\n'
@@ -10497,7 +10487,7 @@ topics = {'assert': 'The "assert" statement\n'
'less except clause, if present, must be last; it matches any\n'
'exception. For an except clause with an expression, that expression\n'
'is evaluated, and the clause matches the exception if the resulting\n'
- 'object is "compatible" with the exception. An object is compatible\n'
+ 'object is “compatible” with the exception. An object is compatible\n'
'with an exception if it is the class or a base class of the '
'exception\n'
'object or a tuple containing an item compatible with the exception.\n'
@@ -10519,7 +10509,7 @@ topics = {'assert': 'The "assert" statement\n'
'When a matching except clause is found, the exception is assigned to\n'
'the target specified after the "as" keyword in that except clause, '
'if\n'
- "present, and the except clause's suite is executed. All except\n"
+ 'present, and the except clause’s suite is executed. All except\n'
'clauses must have an executable block. When the end of this block '
'is\n'
'reached, execution continues normally after the entire try '
@@ -10549,7 +10539,7 @@ topics = {'assert': 'The "assert" statement\n'
'cycle with the stack frame, keeping all locals in that frame alive\n'
'until the next garbage collection occurs.\n'
'\n'
- "Before an except clause's suite is executed, details about the\n"
+ 'Before an except clause’s suite is executed, details about the\n'
'exception are stored in the "sys" module and can be accessed via\n'
'"sys.exc_info()". "sys.exc_info()" returns a 3-tuple consisting of '
'the\n'
@@ -10563,7 +10553,7 @@ topics = {'assert': 'The "assert" statement\n'
'the end of the "try" clause. [2] Exceptions in the "else" clause are\n'
'not handled by the preceding "except" clauses.\n'
'\n'
- 'If "finally" is present, it specifies a \'cleanup\' handler. The '
+ 'If "finally" is present, it specifies a ‘cleanup’ handler. The '
'"try"\n'
'clause is executed, including any "except" and "else" clauses. If '
'an\n'
@@ -10591,12 +10581,10 @@ topics = {'assert': 'The "assert" statement\n'
'execution of the "finally" clause.\n'
'\n'
'When a "return", "break" or "continue" statement is executed in the\n'
- '"try" suite of a "try"..."finally" statement, the "finally" clause '
- 'is\n'
- 'also executed \'on the way out.\' A "continue" statement is illegal '
- 'in\n'
+ '"try" suite of a "try"…"finally" statement, the "finally" clause is\n'
+ 'also executed ‘on the way out.’ A "continue" statement is illegal in\n'
'the "finally" clause. (The reason is a problem with the current\n'
- 'implementation --- this restriction may be lifted in the future).\n'
+ 'implementation — this restriction may be lifted in the future).\n'
'\n'
'The return value of a function is determined by the last "return"\n'
'statement executed. Since the "finally" clause always executes, a\n'
@@ -10631,7 +10619,7 @@ topics = {'assert': 'The "assert" statement\n'
'will often be provided via the standard library instead.\n'
'\n'
'Some of the type descriptions below contain a paragraph listing\n'
- "'special attributes.' These are attributes that provide access to "
+ '‘special attributes.’ These are attributes that provide access to '
'the\n'
'implementation and are not intended for general use. Their '
'definition\n'
@@ -10644,7 +10632,7 @@ topics = {'assert': 'The "assert" statement\n'
'It\n'
' is used to signify the absence of a value in many situations, '
'e.g.,\n'
- " it is returned from functions that don't explicitly return\n"
+ ' it is returned from functions that don’t explicitly return\n'
' anything. Its truth value is false.\n'
'\n'
'NotImplemented\n'
@@ -10695,7 +10683,7 @@ topics = {'assert': 'The "assert" statement\n'
'shift\n'
' and mask operations, a binary representation is assumed, '
'and\n'
- " negative numbers are represented in a variant of 2's\n"
+ ' negative numbers are represented in a variant of 2’s\n'
' complement which gives the illusion of an infinite string '
'of\n'
' sign bits extending to the left.\n'
@@ -10749,7 +10737,7 @@ topics = {'assert': 'The "assert" statement\n'
'items\n'
' of a sequence. When the length of a sequence is *n*, the index '
'set\n'
- ' contains the numbers 0, 1, ..., *n*-1. Item *i* of sequence *a* '
+ ' contains the numbers 0, 1, …, *n*-1. Item *i* of sequence *a* '
'is\n'
' selected by "a[i]".\n'
'\n'
@@ -10759,8 +10747,8 @@ topics = {'assert': 'The "assert" statement\n'
'implies\n'
' that the index set is renumbered so that it starts at 0.\n'
'\n'
- ' Some sequences also support "extended slicing" with a third '
- '"step"\n'
+ ' Some sequences also support “extended slicing” with a third '
+ '“step”\n'
' parameter: "a[i:j:k]" selects all items of *a* with index *x* '
'where\n'
' "x = i + n*k", *n* ">=" "0" and *i* "<=" *x* "<" *j*.\n'
@@ -10785,7 +10773,7 @@ topics = {'assert': 'The "assert" statement\n'
'code\n'
' points. All the code points in the range "U+0000 - '
'U+10FFFF"\n'
- " can be represented in a string. Python doesn't have a "
+ ' can be represented in a string. Python doesn’t have a '
'"char"\n'
' type; instead, every code point in the string is '
'represented\n'
@@ -10804,7 +10792,7 @@ topics = {'assert': 'The "assert" statement\n'
' The items of a tuple are arbitrary Python objects. Tuples '
'of\n'
' two or more items are formed by comma-separated lists of\n'
- " expressions. A tuple of one item (a 'singleton') can be\n"
+ ' expressions. A tuple of one item (a ‘singleton’) can be\n'
' formed by affixing a comma to an expression (an expression '
'by\n'
' itself does not create a tuple, since parentheses must be\n'
@@ -10910,7 +10898,7 @@ topics = {'assert': 'The "assert" statement\n'
'object\n'
' identity, the reason being that the efficient implementation '
'of\n'
- " dictionaries requires a key's hash value to remain constant.\n"
+ ' dictionaries requires a key’s hash value to remain constant.\n'
' Numeric types used for keys obey the normal rules for '
'numeric\n'
' comparison: if two numbers compare equal (e.g., "1" and '
@@ -10935,7 +10923,7 @@ topics = {'assert': 'The "assert" statement\n'
' definition (see section Function definitions). It should be\n'
' called with an argument list containing the same number of '
'items\n'
- " as the function's formal parameter list.\n"
+ ' as the function’s formal parameter list.\n'
'\n'
' Special attributes:\n'
'\n'
@@ -10945,8 +10933,8 @@ topics = {'assert': 'The "assert" statement\n'
'| |\n'
' '
'+===========================+=================================+=============+\n'
- ' | "__doc__" | The function\'s '
- 'documentation | Writable |\n'
+ ' | "__doc__" | The function’s documentation '
+ '| Writable |\n'
' | | string, or "None" if '
'| |\n'
' | | unavailable; not inherited by '
@@ -10955,12 +10943,12 @@ topics = {'assert': 'The "assert" statement\n'
'| |\n'
' '
'+---------------------------+---------------------------------+-------------+\n'
- ' | "__name__" | The function\'s '
- 'name | Writable |\n'
+ ' | "__name__" | The function’s name '
+ '| Writable |\n'
' '
'+---------------------------+---------------------------------+-------------+\n'
- ' | "__qualname__" | The function\'s *qualified '
- 'name* | Writable |\n'
+ ' | "__qualname__" | The function’s *qualified name* '
+ '| Writable |\n'
' | | New in version 3.3. '
'| |\n'
' '
@@ -10993,9 +10981,9 @@ topics = {'assert': 'The "assert" statement\n'
'+---------------------------+---------------------------------+-------------+\n'
' | "__globals__" | A reference to the dictionary '
'| Read-only |\n'
- " | | that holds the function's "
+ ' | | that holds the function’s '
'| |\n'
- ' | | global variables --- the global '
+ ' | | global variables — the global '
'| |\n'
' | | namespace of the module in '
'| |\n'
@@ -11013,7 +11001,7 @@ topics = {'assert': 'The "assert" statement\n'
'| Read-only |\n'
' | | contain bindings for the '
'| |\n'
- " | | function's free variables. "
+ ' | | function’s free variables. '
'| |\n'
' '
'+---------------------------+---------------------------------+-------------+\n'
@@ -11036,7 +11024,7 @@ topics = {'assert': 'The "assert" statement\n'
' '
'+---------------------------+---------------------------------+-------------+\n'
'\n'
- ' Most of the attributes labelled "Writable" check the type of '
+ ' Most of the attributes labelled “Writable” check the type of '
'the\n'
' assigned value.\n'
'\n'
@@ -11052,7 +11040,7 @@ topics = {'assert': 'The "assert" statement\n'
' attributes on built-in functions may be supported in the\n'
' future.*\n'
'\n'
- " Additional information about a function's definition can be\n"
+ ' Additional information about a function’s definition can be\n'
' retrieved from its code object; see the description of '
'internal\n'
' types below.\n'
@@ -11065,7 +11053,7 @@ topics = {'assert': 'The "assert" statement\n'
' Special read-only attributes: "__self__" is the class '
'instance\n'
' object, "__func__" is the function object; "__doc__" is the\n'
- ' method\'s documentation (same as "__func__.__doc__"); '
+ ' method’s documentation (same as "__func__.__doc__"); '
'"__name__"\n'
' is the method name (same as "__func__.__name__"); '
'"__module__"\n'
@@ -11089,7 +11077,7 @@ topics = {'assert': 'The "assert" statement\n'
'instances,\n'
' its "__self__" attribute is the instance, and the method '
'object\n'
- ' is said to be bound. The new method\'s "__func__" attribute '
+ ' is said to be bound. The new method’s "__func__" attribute '
'is\n'
' the original function object.\n'
'\n'
@@ -11122,7 +11110,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' When an instance method object is derived from a class '
'method\n'
- ' object, the "class instance" stored in "__self__" will '
+ ' object, the “class instance” stored in "__self__" will '
'actually\n'
' be the class itself, so that calling either "x.f(1)" or '
'"C.f(1)"\n'
@@ -11155,7 +11143,7 @@ topics = {'assert': 'The "assert" statement\n'
'object\n'
' which can be used to execute the body of the function: '
'calling\n'
- ' the iterator\'s "iterator.__next__()" method will cause the\n'
+ ' the iterator’s "iterator.__next__()" method will cause the\n'
' function to execute until it provides a value using the '
'"yield"\n'
' statement. When the function executes a "return" statement '
@@ -11184,7 +11172,7 @@ topics = {'assert': 'The "assert" statement\n'
'for"\n'
' statement to execute the body of the function.\n'
'\n'
- ' Calling the asynchronous iterator\'s "aiterator.__anext__()"\n'
+ ' Calling the asynchronous iterator’s "aiterator.__anext__()"\n'
' method will return an *awaitable* which when awaited will\n'
' execute until it provides a value using the "yield" '
'expression.\n'
@@ -11203,9 +11191,9 @@ topics = {'assert': 'The "assert" statement\n'
'of\n'
' the arguments are determined by the C function. Special '
'read-\n'
- ' only attributes: "__doc__" is the function\'s documentation\n'
+ ' only attributes: "__doc__" is the function’s documentation\n'
' string, or "None" if unavailable; "__name__" is the '
- "function's\n"
+ 'function’s\n'
' name; "__self__" is set to "None" (but see the next item);\n'
' "__module__" is the name of the module the function was '
'defined\n'
@@ -11248,16 +11236,16 @@ topics = {'assert': 'The "assert" statement\n'
' translated to lookups in this dictionary, e.g., "m.x" is '
'equivalent\n'
' to "m.__dict__["x"]". A module object does not contain the code\n'
- " object used to initialize the module (since it isn't needed "
+ ' object used to initialize the module (since it isn’t needed '
'once\n'
' the initialization is done).\n'
'\n'
- " Attribute assignment updates the module's namespace dictionary,\n"
+ ' Attribute assignment updates the module’s namespace dictionary,\n'
' e.g., "m.x = 1" is equivalent to "m.__dict__["x"] = 1".\n'
'\n'
- ' Predefined (writable) attributes: "__name__" is the module\'s '
+ ' Predefined (writable) attributes: "__name__" is the module’s '
'name;\n'
- ' "__doc__" is the module\'s documentation string, or "None" if\n'
+ ' "__doc__" is the module’s documentation string, or "None" if\n'
' unavailable; "__annotations__" (optional) is a dictionary\n'
' containing *variable annotations* collected during module body\n'
' execution; "__file__" is the pathname of the file from which '
@@ -11270,7 +11258,7 @@ topics = {'assert': 'The "assert" statement\n'
'is\n'
' the pathname of the shared library file.\n'
'\n'
- ' Special read-only attribute: "__dict__" is the module\'s '
+ ' Special read-only attribute: "__dict__" is the module’s '
'namespace\n'
' as a dictionary object.\n'
'\n'
@@ -11299,7 +11287,7 @@ topics = {'assert': 'The "assert" statement\n'
' classes. This search of the base classes uses the C3 method\n'
' resolution order which behaves correctly even in the presence '
'of\n'
- " 'diamond' inheritance structures where there are multiple\n"
+ ' ‘diamond’ inheritance structures where there are multiple\n'
' inheritance paths leading back to a common ancestor. Additional\n'
' details on the C3 MRO used by Python can be found in the\n'
' documentation accompanying the 2.3 release at\n'
@@ -11308,7 +11296,7 @@ topics = {'assert': 'The "assert" statement\n'
' When a class attribute reference (for class "C", say) would '
'yield a\n'
' class method object, it is transformed into an instance method\n'
- ' object whose "__self__" attributes is "C". When it would yield '
+ ' object whose "__self__" attribute is "C". When it would yield '
'a\n'
' static method object, it is transformed into the object wrapped '
'by\n'
@@ -11318,7 +11306,7 @@ topics = {'assert': 'The "assert" statement\n'
'differ\n'
' from those actually contained in its "__dict__".\n'
'\n'
- " Class attribute assignments update the class's dictionary, "
+ ' Class attribute assignments update the class’s dictionary, '
'never\n'
' the dictionary of a base class.\n'
'\n'
@@ -11330,11 +11318,11 @@ topics = {'assert': 'The "assert" statement\n'
'is\n'
' the module name in which the class was defined; "__dict__" is '
'the\n'
- ' dictionary containing the class\'s namespace; "__bases__" is a '
+ ' dictionary containing the class’s namespace; "__bases__" is a '
'tuple\n'
' containing the base classes, in the order of their occurrence '
'in\n'
- ' the base class list; "__doc__" is the class\'s documentation '
+ ' the base class list; "__doc__" is the class’s documentation '
'string,\n'
' or "None" if undefined; "__annotations__" (optional) is a\n'
' dictionary containing *variable annotations* collected during '
@@ -11347,7 +11335,7 @@ topics = {'assert': 'The "assert" statement\n'
' A class instance has a namespace implemented as a dictionary '
'which\n'
' is the first place in which attribute references are searched.\n'
- " When an attribute is not found there, and the instance's class "
+ ' When an attribute is not found there, and the instance’s class '
'has\n'
' an attribute by that name, the search continues with the class\n'
' attributes. If a class attribute is found that is a '
@@ -11356,17 +11344,17 @@ topics = {'assert': 'The "assert" statement\n'
'object\n'
' whose "__self__" attribute is the instance. Static method and\n'
' class method objects are also transformed; see above under\n'
- ' "Classes". See section Implementing Descriptors for another way '
+ ' “Classes”. See section Implementing Descriptors for another way '
'in\n'
' which attributes of a class retrieved via its instances may '
'differ\n'
- ' from the objects actually stored in the class\'s "__dict__". If '
+ ' from the objects actually stored in the class’s "__dict__". If '
'no\n'
- " class attribute is found, and the object's class has a\n"
+ ' class attribute is found, and the object’s class has a\n'
' "__getattr__()" method, that is called to satisfy the lookup.\n'
'\n'
- " Attribute assignments and deletions update the instance's\n"
- " dictionary, never a class's dictionary. If the class has a\n"
+ ' Attribute assignments and deletions update the instance’s\n'
+ ' dictionary, never a class’s dictionary. If the class has a\n'
' "__setattr__()" or "__delattr__()" method, this is called '
'instead\n'
' of updating the instance dictionary directly.\n'
@@ -11377,7 +11365,7 @@ topics = {'assert': 'The "assert" statement\n'
' Special method names.\n'
'\n'
' Special attributes: "__dict__" is the attribute dictionary;\n'
- ' "__class__" is the instance\'s class.\n'
+ ' "__class__" is the instance’s class.\n'
'\n'
'I/O objects (also known as file objects)\n'
' A *file object* represents an open file. Various shortcuts are\n'
@@ -11389,7 +11377,7 @@ topics = {'assert': 'The "assert" statement\n'
' provided by extension modules).\n'
'\n'
' The objects "sys.stdin", "sys.stdout" and "sys.stderr" are\n'
- " initialized to file objects corresponding to the interpreter's\n"
+ ' initialized to file objects corresponding to the interpreter’s\n'
' standard input, output and error streams; they are all open in '
'text\n'
' mode and therefore follow the interface defined by the\n'
@@ -11407,7 +11395,7 @@ topics = {'assert': 'The "assert" statement\n'
' or *bytecode*. The difference between a code object and a\n'
' function object is that the function object contains an '
'explicit\n'
- " reference to the function's globals (the module in which it "
+ ' reference to the function’s globals (the module in which it '
'was\n'
' defined), while a code object contains no context; also the\n'
' default argument values are stored in the function object, '
@@ -11499,7 +11487,7 @@ topics = {'assert': 'The "assert" statement\n'
'is\n'
' used by the debugger); "f_lineno" is the current line number '
'of\n'
- ' the frame --- writing to this from within a trace function '
+ ' the frame — writing to this from within a trace function '
'jumps\n'
' to the given line (only for the bottom-most frame). A '
'debugger\n'
@@ -11616,7 +11604,7 @@ topics = {'assert': 'The "assert" statement\n'
' is retrieved from classes and class instances. The behaviour '
'of\n'
' class method objects upon such retrieval is described above,\n'
- ' under "User-defined methods". Class method objects are '
+ ' under “User-defined methods”. Class method objects are '
'created\n'
' by the built-in "classmethod()" constructor.\n',
'typesfunctions': 'Functions\n'
@@ -11636,8 +11624,8 @@ topics = {'assert': 'The "assert" statement\n'
'different object types.\n'
'\n'
'See Function definitions for more information.\n',
- 'typesmapping': 'Mapping Types --- "dict"\n'
- '************************\n'
+ 'typesmapping': 'Mapping Types — "dict"\n'
+ '**********************\n'
'\n'
'A *mapping* object maps *hashable* values to arbitrary '
'objects.\n'
@@ -11648,7 +11636,7 @@ topics = {'assert': 'The "assert" statement\n'
'in "list", "set", and "tuple" classes, and the "collections" '
'module.)\n'
'\n'
- "A dictionary's keys are *almost* arbitrary values. Values "
+ 'A dictionary’s keys are *almost* arbitrary values. Values '
'that are\n'
'not *hashable*, that is, values containing lists, '
'dictionaries or\n'
@@ -11824,13 +11812,13 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' items()\n'
'\n'
- ' Return a new view of the dictionary\'s items ("(key, '
+ ' Return a new view of the dictionary’s items ("(key, '
'value)"\n'
' pairs). See the documentation of view objects.\n'
'\n'
' keys()\n'
'\n'
- " Return a new view of the dictionary's keys. See the\n"
+ ' Return a new view of the dictionary’s keys. See the\n'
' documentation of view objects.\n'
'\n'
' pop(key[, default])\n'
@@ -11878,14 +11866,14 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' values()\n'
'\n'
- " Return a new view of the dictionary's values. See "
+ ' Return a new view of the dictionary’s values. See '
'the\n'
' documentation of view objects.\n'
'\n'
' Dictionaries compare equal if and only if they have the '
'same "(key,\n'
- ' value)" pairs. Order comparisons (\'<\', \'<=\', \'>=\', '
- "'>') raise\n"
+ ' value)" pairs. Order comparisons (‘<’, ‘<=’, ‘>=’, ‘>’) '
+ 'raise\n'
' "TypeError".\n'
'\n'
'See also: "types.MappingProxyType" can be used to create a '
@@ -11899,7 +11887,7 @@ topics = {'assert': 'The "assert" statement\n'
'The objects returned by "dict.keys()", "dict.values()" and\n'
'"dict.items()" are *view objects*. They provide a dynamic '
'view on the\n'
- "dictionary's entries, which means that when the dictionary "
+ 'dictionary’s entries, which means that when the dictionary '
'changes,\n'
'the view reflects these changes.\n'
'\n'
@@ -11921,7 +11909,7 @@ topics = {'assert': 'The "assert" statement\n'
'which is\n'
' non-random, varies across Python implementations, and '
'depends on\n'
- " the dictionary's history of insertions and deletions. If "
+ ' the dictionary’s history of insertions and deletions. If '
'keys,\n'
' values and items views are iterated over with no '
'intervening\n'
@@ -11941,7 +11929,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'x in dictview\n'
'\n'
- ' Return "True" if *x* is in the underlying dictionary\'s '
+ ' Return "True" if *x* is in the underlying dictionary’s '
'keys, values\n'
' or items (in the latter case, *x* should be a "(key, '
'value)"\n'
@@ -12056,7 +12044,7 @@ topics = {'assert': 'The "assert" statement\n'
'The only special operation on a module is attribute access: '
'"m.name",\n'
'where *m* is a module and *name* accesses a name defined in '
- "*m*'s\n"
+ '*m*’s\n'
'symbol table. Module attributes can be assigned to. (Note '
'that the\n'
'"import" statement is not, strictly speaking, an operation '
@@ -12069,14 +12057,14 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'A special attribute of every module is "__dict__". This is '
'the\n'
- "dictionary containing the module's symbol table. Modifying "
+ 'dictionary containing the module’s symbol table. Modifying '
'this\n'
- "dictionary will actually change the module's symbol table, "
+ 'dictionary will actually change the module’s symbol table, '
'but direct\n'
'assignment to the "__dict__" attribute is not possible (you '
'can write\n'
'"m.__dict__[\'a\'] = 1", which defines "m.a" to be "1", but '
- "you can't\n"
+ 'you can’t\n'
'write "m.__dict__ = {}"). Modifying "__dict__" directly is '
'not\n'
'recommended.\n'
@@ -12087,8 +12075,8 @@ topics = {'assert': 'The "assert" statement\n'
'written as\n'
'"<module \'os\' from '
'\'/usr/local/lib/pythonX.Y/os.pyc\'>".\n',
- 'typesseq': 'Sequence Types --- "list", "tuple", "range"\n'
- '*******************************************\n'
+ 'typesseq': 'Sequence Types — "list", "tuple", "range"\n'
+ '*****************************************\n'
'\n'
'There are three basic sequence types: lists, tuples, and range\n'
'objects. Additional sequence types tailored for processing of '
@@ -12262,7 +12250,7 @@ topics = {'assert': 'The "assert" statement\n'
'*j* are\n'
' reduced to "len(s) - 1" if they are greater. If *i* or *j* '
'are\n'
- ' omitted or "None", they become "end" values (which end '
+ ' omitted or "None", they become “end” values (which end '
'depends on\n'
' the sign of *k*). Note, *k* cannot be zero. If *k* is '
'"None", it\n'
@@ -12293,7 +12281,7 @@ topics = {'assert': 'The "assert" statement\n'
'documentation\n'
'\n'
'7. Some sequence types (such as "range") only support item\n'
- " sequences that follow specific patterns, and hence don't "
+ ' sequences that follow specific patterns, and hence don’t '
'support\n'
' sequence concatenation or repetition.\n'
'\n'
@@ -12450,7 +12438,7 @@ topics = {'assert': 'The "assert" statement\n'
' sequence.\n'
'\n'
'5. "clear()" and "copy()" are included for consistency with the\n'
- " interfaces of mutable containers that don't support slicing\n"
+ ' interfaces of mutable containers that don’t support slicing\n'
' operations (such as "dict" and "set")\n'
'\n'
' New in version 3.3: "clear()" and "copy()" methods.\n'
@@ -12490,7 +12478,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' The constructor builds a list whose items are the same and in '
'the\n'
- " same order as *iterable*'s items. *iterable* may be either "
+ ' same order as *iterable*’s items. *iterable* may be either '
'a\n'
' sequence, a container that supports iteration, or an '
'iterator\n'
@@ -12557,8 +12545,8 @@ topics = {'assert': 'The "assert" statement\n'
'is\n'
' stable if it guarantees not to change the relative order '
'of\n'
- ' elements that compare equal --- this is helpful for '
- 'sorting in\n'
+ ' elements that compare equal — this is helpful for sorting '
+ 'in\n'
' multiple passes (for example, sort by department, then by '
'salary\n'
' grade).\n'
@@ -12604,7 +12592,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' The constructor builds a tuple whose items are the same and '
'in the\n'
- " same order as *iterable*'s items. *iterable* may be either "
+ ' same order as *iterable*’s items. *iterable* may be either '
'a\n'
' sequence, a container that supports iteration, or an '
'iterator\n'
@@ -12733,7 +12721,7 @@ topics = {'assert': 'The "assert" statement\n'
'Range objects implement the "collections.abc.Sequence" ABC, and\n'
'provide features such as containment tests, element index '
'lookup,\n'
- 'slicing and support for negative indices (see Sequence Types --- '
+ 'slicing and support for negative indices (see Sequence Types — '
'list,\n'
'tuple, range):\n'
'\n'
@@ -12771,7 +12759,7 @@ topics = {'assert': 'The "assert" statement\n'
'constant\n'
'time instead of iterating through all items.\n'
'\n'
- "Changed in version 3.3: Define '==' and '!=' to compare range "
+ 'Changed in version 3.3: Define ‘==’ and ‘!=’ to compare range '
'objects\n'
'based on the sequence of values they define (instead of '
'comparing\n'
@@ -12910,7 +12898,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'5. "clear()" and "copy()" are included for consistency '
'with the\n'
- " interfaces of mutable containers that don't support "
+ ' interfaces of mutable containers that don’t support '
'slicing\n'
' operations (such as "dict" and "set")\n'
'\n'
@@ -12965,7 +12953,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'A "break" statement executed in the first suite terminates the '
'loop\n'
- 'without executing the "else" clause\'s suite. A "continue" '
+ 'without executing the "else" clause’s suite. A "continue" '
'statement\n'
'executed in the first suite skips the rest of the suite and goes '
'back\n'
@@ -12975,21 +12963,22 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'The "with" statement is used to wrap the execution of a block with\n'
'methods defined by a context manager (see section With Statement\n'
- 'Context Managers). This allows common "try"..."except"..."finally"\n'
- 'usage patterns to be encapsulated for convenient reuse.\n'
+ 'Context Managers). This allows common "try"…"except"…"finally" '
+ 'usage\n'
+ 'patterns to be encapsulated for convenient reuse.\n'
'\n'
' with_stmt ::= "with" with_item ("," with_item)* ":" suite\n'
' with_item ::= expression ["as" target]\n'
'\n'
- 'The execution of the "with" statement with one "item" proceeds as\n'
+ 'The execution of the "with" statement with one “item” proceeds as\n'
'follows:\n'
'\n'
'1. The context expression (the expression given in the "with_item")\n'
' is evaluated to obtain a context manager.\n'
'\n'
- '2. The context manager\'s "__exit__()" is loaded for later use.\n'
+ '2. The context manager’s "__exit__()" is loaded for later use.\n'
'\n'
- '3. The context manager\'s "__enter__()" method is invoked.\n'
+ '3. The context manager’s "__enter__()" method is invoked.\n'
'\n'
'4. If a target was included in the "with" statement, the return\n'
' value from "__enter__()" is assigned to it.\n'
@@ -13003,7 +12992,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'5. The suite is executed.\n'
'\n'
- '6. The context manager\'s "__exit__()" method is invoked. If an\n'
+ '6. The context manager’s "__exit__()" method is invoked. If an\n'
' exception caused the suite to be exited, its type, value, and\n'
' traceback are passed as arguments to "__exit__()". Otherwise, '
'three\n'
@@ -13039,7 +13028,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'See also:\n'
'\n'
- ' **PEP 343** - The "with" statement\n'
+ ' **PEP 343** - The “with” statement\n'
' The specification, background, and examples for the Python '
'"with"\n'
' statement.\n',
diff --git a/Misc/NEWS.d/3.6.6rc1.rst b/Misc/NEWS.d/3.6.6rc1.rst
new file mode 100644
index 00000000000..bc21a34b1fd
--- /dev/null
+++ b/Misc/NEWS.d/3.6.6rc1.rst
@@ -0,0 +1,885 @@
+.. bpo: 33786
+.. date: 2018-06-06-23-24-40
+.. nonce: lBvT8z
+.. release date: 2018-06-11
+.. section: Core and Builtins
+
+Fix asynchronous generators to handle GeneratorExit in athrow() correctly
+
+..
+
+.. bpo: 30654
+.. date: 2018-05-28-12-28-53
+.. nonce: 9fDJye
+.. section: Core and Builtins
+
+Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even
+when there was a custom handler set previously. Patch by Philipp Kerling.
+
+..
+
+.. bpo: 33622
+.. date: 2018-05-23-20-46-14
+.. nonce: xPucO9
+.. section: Core and Builtins
+
+Fixed a leak when the garbage collector fails to add an object with the
+``__del__`` method or referenced by it into the :data:`gc.garbage` list.
+:c:func:`PyGC_Collect` can now be called when an exception is set and
+preserves it.
+
+..
+
+.. bpo: 31849
+.. date: 2018-05-14-11-00-00
+.. nonce: EmHaH4
+.. section: Core and Builtins
+
+Fix signed/unsigned comparison warning in pyhash.c.
+
+..
+
+.. bpo: 33391
+.. date: 2018-05-02-08-36-03
+.. nonce: z4a7rb
+.. section: Core and Builtins
+
+Fix a leak in set_symmetric_difference().
+
+..
+
+.. bpo: 28055
+.. date: 2018-04-25-20-44-42
+.. nonce: f49kfC
+.. section: Core and Builtins
+
+Fix unaligned accesses in siphash24(). Patch by Rolf Eike Beer.
+
+..
+
+.. bpo: 33231
+.. date: 2018-04-05-22-20-44
+.. nonce: 3Jmo0q
+.. section: Core and Builtins
+
+Fix potential memory leak in ``normalizestring()``.
+
+..
+
+.. bpo: 29922
+.. date: 2018-04-03-00-30-25
+.. nonce: CdLuMl
+.. section: Core and Builtins
+
+Improved error messages in 'async with' when ``__aenter__()`` or
+``__aexit__()`` return non-awaitable object.
+
+..
+
+.. bpo: 33199
+.. date: 2018-04-02-09-32-40
+.. nonce: TPnxQu
+.. section: Core and Builtins
+
+Fix ``ma_version_tag`` in dict implementation is uninitialized when copying
+from key-sharing dict.
+
+..
+
+.. bpo: 33041
+.. date: 2018-03-18-13-56-14
+.. nonce: XwPhI2
+.. section: Core and Builtins
+
+Fixed jumping when the function contains an ``async for`` loop.
+
+..
+
+.. bpo: 32282
+.. date: 2017-12-12-14-02-28
+.. nonce: xFVMTn
+.. section: Core and Builtins
+
+Fix an unnecessary ifdef in the include of VersionHelpers.h in socketmodule
+on Windows.
+
+..
+
+.. bpo: 21983
+.. date: 2017-10-02-21-02-14
+.. nonce: UoC319
+.. section: Core and Builtins
+
+Fix a crash in `ctypes.cast()` in case the type argument is a ctypes
+structured data type. Patch by Eryk Sun and Oren Milman.
+
+..
+
+.. bpo: 30167
+.. date: 2018-06-10-19-29-17
+.. nonce: G5EgC5
+.. section: Library
+
+Prevent site.main() exception if PYTHONSTARTUP is set. Patch by Steve Weber.
+
+..
+
+.. bpo: 33812
+.. date: 2018-06-10-13-26-02
+.. nonce: frGAOr
+.. section: Library
+
+Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d)
+returning None is now treated as naive by the astimezone() method.
+
+..
+
+.. bpo: 30805
+.. date: 2018-06-08-17-34-16
+.. nonce: 3qCWa0
+.. section: Library
+
+Avoid race condition with debug logging
+
+..
+
+.. bpo: 33767
+.. date: 2018-06-03-22-41-59
+.. nonce: 2e82g3
+.. section: Library
+
+The concatenation (``+``) and repetition (``*``) sequence operations now
+raise :exc:`TypeError` instead of :exc:`SystemError` when performed on
+:class:`mmap.mmap` objects. Patch by Zackery Spytz.
+
+..
+
+.. bpo: 32684
+.. date: 2018-05-29-12-51-18
+.. nonce: ZEIism
+.. section: Library
+
+Fix gather to propagate cancellation of itself even with return_exceptions.
+
+..
+
+.. bpo: 33674
+.. date: 2018-05-28-22-49-59
+.. nonce: 6LFFj7
+.. section: Library
+
+Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto:
+start immediately the handshake instead of using call_soon(). Previously,
+data_received() could be called before the handshake started, causing the
+handshake to hang or fail.
+
+..
+
+.. bpo: 31467
+.. date: 2018-05-28-18-40-26
+.. nonce: s4Fad3
+.. section: Library
+
+Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's
+already closed raises AttributeError.
+
+..
+
+.. bpo: 33672
+.. date: 2018-05-28-17-45-06
+.. nonce: GM_Xm_
+.. section: Library
+
+Fix Task.__repr__ crash with Cython's bogus coroutines
+
+..
+
+.. bpo: 33469
+.. date: 2018-05-28-15-55-12
+.. nonce: hmXBpY
+.. section: Library
+
+Fix RuntimeError after closing loop that used run_in_executor
+
+..
+
+.. bpo: 11874
+.. date: 2018-05-23-00-26-27
+.. nonce: glK5iP
+.. section: Library
+
+Use a better regex when breaking usage into wrappable parts. Avoids bogus
+assertion errors from custom metavar strings.
+
+..
+
+.. bpo: 30877
+.. date: 2018-05-22-13-05-12
+.. nonce: JZEGjI
+.. section: Library
+
+Fixed a bug in the Python implementation of the JSON decoder that prevented
+the cache of parsed strings from clearing after finishing the decoding.
+Based on patch by c-fos.
+
+..
+
+.. bpo: 33548
+.. date: 2018-05-16-17-05-48
+.. nonce: xWslmx
+.. section: Library
+
+tempfile._candidate_tempdir_list should consider common TEMP locations
+
+..
+
+.. bpo: 33542
+.. date: 2018-05-16-09-30-27
+.. nonce: idNAcs
+.. section: Library
+
+Prevent ``uuid.get_node`` from using a DUID instead of a MAC on Windows.
+Patch by Zvi Effron
+
+..
+
+.. bpo: 26819
+.. date: 2018-05-16-05-24-43
+.. nonce: taxbVT
+.. section: Library
+
+Fix race condition with `ReadTransport.resume_reading` in Windows proactor
+event loop.
+
+..
+
+.. bpo: 28556
+.. date: 2018-05-10-14-51-19
+.. nonce: y3zK6I
+.. section: Library
+
+Minor fixes in typing module: add annotations to ``NamedTuple.__new__``,
+pass ``*args`` and ``**kwds`` in ``Generic.__new__``. Original PRs by
+Paulius Šarka and Chad Dombrova.
+
+..
+
+.. bpo: 20087
+.. date: 2018-05-05-18-02-24
+.. nonce: lJrvXL
+.. section: Library
+
+Updated alias mapping with glibc 2.27 supported locales.
+
+..
+
+.. bpo: 33422
+.. date: 2018-05-05-09-53-05
+.. nonce: 4FtQ0q
+.. section: Library
+
+Fix trailing quotation marks getting deleted when looking up byte/string
+literals on pydoc. Patch by Andrés Delfino.
+
+..
+
+.. bpo: 33197
+.. date: 2018-04-29-23-56-20
+.. nonce: dgRLqr
+.. section: Library
+
+Update error message when constructing invalid inspect.Parameters Patch by
+Dong-hee Na.
+
+..
+
+.. bpo: 33383
+.. date: 2018-04-29-11-15-38
+.. nonce: g32YWn
+.. section: Library
+
+Fixed crash in the get() method of the :mod:`dbm.ndbm` database object when
+it is called with a single argument.
+
+..
+
+.. bpo: 33329
+.. date: 2018-04-23-13-21-39
+.. nonce: lQ-Eod
+.. section: Library
+
+Fix multiprocessing regression on newer glibcs
+
+..
+
+.. bpo: 991266
+.. date: 2018-04-21-00-24-08
+.. nonce: h93TP_
+.. section: Library
+
+Fix quoting of the ``Comment`` attribute of
+:class:`http.cookies.SimpleCookie`.
+
+..
+
+.. bpo: 33131
+.. date: 2018-04-20-10-43-17
+.. nonce: L2E977
+.. section: Library
+
+Upgrade bundled version of pip to 10.0.1.
+
+..
+
+.. bpo: 33308
+.. date: 2018-04-18-19-12-25
+.. nonce: fW75xi
+.. section: Library
+
+Fixed a crash in the :mod:`parser` module when converting an ST object to a
+tree of tuples or lists with ``line_info=False`` and ``col_info=True``.
+
+..
+
+.. bpo: 33263
+.. date: 2018-04-11-20-29-19
+.. nonce: B56Hc1
+.. section: Library
+
+Fix FD leak in `_SelectorSocketTransport` Patch by Vlad Starostin.
+
+..
+
+.. bpo: 33256
+.. date: 2018-04-10-20-57-14
+.. nonce: ndHkqu
+.. section: Library
+
+Fix display of ``<module>`` call in the html produced by ``cgitb.html()``.
+Patch by Stéphane Blondon.
+
+..
+
+.. bpo: 33203
+.. date: 2018-04-05-11-09-45
+.. nonce: Hje9Py
+.. section: Library
+
+``random.Random.choice()`` now raises ``IndexError`` for empty sequences
+consistently even when called from subclasses without a ``getrandbits()``
+implementation.
+
+..
+
+.. bpo: 33224
+.. date: 2018-04-04-23-41-30
+.. nonce: pyR0jB
+.. section: Library
+
+Update difflib.mdiff() for PEP 479. Convert an uncaught StopIteration in a
+generator into a return-statement.
+
+..
+
+.. bpo: 33209
+.. date: 2018-04-03-10-37-13
+.. nonce: 9sGWE_
+.. section: Library
+
+End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
+
+..
+
+.. bpo: 32861
+.. date: 2018-04-02-20-44-54
+.. nonce: HeBjzN
+.. section: Library
+
+The urllib.robotparser's ``__str__`` representation now includes wildcard
+entries and the "Crawl-delay" and "Request-rate" fields. Patch by Michael
+Lazar.
+
+..
+
+.. bpo: 33096
+.. date: 2018-03-25-13-18-16
+.. nonce: ofdbe7
+.. section: Library
+
+Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note
+iid=0 and iid=False would be same. Patch by Garvit Khatri.
+
+..
+
+.. bpo: 33127
+.. date: 2018-03-24-15-08-24
+.. nonce: olJmHv
+.. section: Library
+
+The ssl module now compiles with LibreSSL 2.7.1.
+
+..
+
+.. bpo: 33021
+.. date: 2018-03-12-00-27-56
+.. nonce: m19B9T
+.. section: Library
+
+Release the GIL during fstat() calls, avoiding hang of all threads when
+calling mmap.mmap(), os.urandom(), and random.seed(). Patch by Nir Soffer.
+
+..
+
+.. bpo: 27683
+.. date: 2018-03-07-22-28-17
+.. nonce: 572Rv4
+.. section: Library
+
+Fix a regression in :mod:`ipaddress` that result of :meth:`hosts` is empty
+when the network is constructed by a tuple containing an integer mask and
+only 1 bit left for addresses.
+
+..
+
+.. bpo: 32844
+.. date: 2018-02-28-13-08-00
+.. nonce: u8tnAe
+.. section: Library
+
+Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess
+if another low descriptor is closed.
+
+..
+
+.. bpo: 31908
+.. date: 2017-10-31
+.. nonce: g4xh8x
+.. section: Library
+
+Fix output of cover files for ``trace`` module command-line tool. Previously
+emitted cover files only when ``--missing`` option was used. Patch by
+Michael Selik.
+
+..
+
+.. bpo: 31457
+.. date: 2017-10-18-19-05-17
+.. nonce: KlE6r8
+.. section: Library
+
+If nested log adapters are used, the inner ``process()`` methods are no
+longer omitted.
+
+..
+
+.. bpo: 16865
+.. date: 2017-09-29-16-40-38
+.. nonce: l-f6I_
+.. section: Library
+
+Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev Finer.
+
+..
+
+.. bpo: 31238
+.. date: 2017-08-21-12-31-53
+.. nonce: Gg0LRH
+.. section: Library
+
+pydoc: the stop() method of the private ServerThread class now waits until
+DocServer.serve_until_quit() completes and then explicitly sets its
+docserver attribute to None to break a reference cycle.
+
+..
+
+.. bpo: 33503
+.. date: 2018-05-14-20-08-58
+.. nonce: Wvt0qg
+.. section: Documentation
+
+Fix broken pypi link
+
+..
+
+.. bpo: 33421
+.. date: 2018-05-14-15-23-51
+.. nonce: 3GU_QO
+.. section: Documentation
+
+Add missing documentation for ``typing.AsyncContextManager``.
+
+..
+
+.. bpo: 33378
+.. date: 2018-04-29-04-02-18
+.. nonce: -anAHN
+.. section: Documentation
+
+Add Korean language switcher for https://docs.python.org/3/
+
+..
+
+.. bpo: 33276
+.. date: 2018-04-20-14-09-36
+.. nonce: rA1z_3
+.. section: Documentation
+
+Clarify that the ``__path__`` attribute on modules cannot be just any value.
+
+..
+
+.. bpo: 33201
+.. date: 2018-04-01-21-03-41
+.. nonce: aa8Lkl
+.. section: Documentation
+
+Modernize documentation for writing C extension types.
+
+..
+
+.. bpo: 33195
+.. date: 2018-04-01-14-30-36
+.. nonce: dRS-XX
+.. section: Documentation
+
+Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
+related APIs are deprecated since Python 3.3, but it is missed in the
+document.
+
+..
+
+.. bpo: 33126
+.. date: 2018-03-28-17-03-17
+.. nonce: 5UGkNv
+.. section: Documentation
+
+Document PyBuffer_ToContiguous().
+
+..
+
+.. bpo: 27212
+.. date: 2018-03-22-19-23-04
+.. nonce: wrE5KR
+.. section: Documentation
+
+Modify documentation for the :func:`islice` recipe to consume initial values
+up to the start index.
+
+..
+
+.. bpo: 28247
+.. date: 2018-03-20-20-11-05
+.. nonce: -V-WS-
+.. section: Documentation
+
+Update :mod:`zipapp` documentation to describe how to make standalone
+applications.
+
+..
+
+.. bpo: 18802
+.. date: 2018-03-11-18-53-47
+.. nonce: JhAqH3
+.. section: Documentation
+
+Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag.
+
+..
+
+.. bpo: 27428
+.. date: 2018-03-11-00-16-56
+.. nonce: B7A8FT
+.. section: Documentation
+
+Update documentation to clarify that ``WindowsRegistryFinder`` implements
+``MetaPathFinder``. (Patch by Himanshu Lakhara)
+
+..
+
+.. bpo: 8243
+.. date: 2018-01-13-20-30-53
+.. nonce: s98r28
+.. section: Documentation
+
+Add a note about curses.addch and curses.addstr exception behavior when
+writing outside a window, or pad.
+
+..
+
+.. bpo: 31432
+.. date: 2017-09-13-07-14-59
+.. nonce: yAY4Z3
+.. section: Documentation
+
+Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for
+ssl.SSLContext.verify_mode.
+
+..
+
+.. bpo: 33655
+.. date: 2018-05-26-16-01-40
+.. nonce: Frb4LA
+.. section: Tests
+
+Ignore test_posix_fallocate failures on BSD platforms that might be due to
+running on ZFS.
+
+..
+
+.. bpo: 19417
+.. date: 2018-01-08-13-33-47
+.. nonce: 2asoXy
+.. section: Tests
+
+Add test_bdb.py.
+
+..
+
+.. bpo: 5755
+.. date: 2018-06-04-21-34-34
+.. nonce: 65GmCj
+.. section: Build
+
+Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This
+option emitted annoying warnings when building extension modules written in
+C++.
+
+..
+
+.. bpo: 33614
+.. date: 2018-05-28-11-40-22
+.. nonce: 28e0sE
+.. section: Build
+
+Ensures module definition files for the stable ABI on Windows are correctly
+regenerated.
+
+..
+
+.. bpo: 33522
+.. date: 2018-05-15-12-44-50
+.. nonce: mJoNcA
+.. section: Build
+
+Enable CI builds on Visual Studio Team Services at
+https://python.visualstudio.com/cpython
+
+..
+
+.. bpo: 33012
+.. date: 2018-05-10-21-10-01
+.. nonce: 5Zfjac
+.. section: Build
+
+Add ``-Wno-cast-function-type`` for gcc 8 for silencing warnings about
+function casts like casting to PyCFunction in method definition lists.
+
+..
+
+.. bpo: 33394
+.. date: 2018-04-30-17-36-46
+.. nonce: _Vdi4t
+.. section: Build
+
+Enable the verbose build for extension modules, when GNU make is passed
+macros on the command line.
+
+..
+
+.. bpo: 33184
+.. date: 2018-04-13-11-39-28
+.. nonce: aEohx0
+.. section: Windows
+
+Update Windows installer to OpenSSL 1.0.2o.
+
+..
+
+.. bpo: 33184
+.. date: 2018-04-07-00-58-50
+.. nonce: rMTiqu
+.. section: macOS
+
+Update macOS installer build to use OpenSSL 1.0.2o.
+
+..
+
+.. bpo: 33656
+.. date: 2018-06-10-17-59-36
+.. nonce: 60ZqJS
+.. section: IDLE
+
+On Windows, add API call saying that tk scales for DPI. On Windows 8.1+ or
+10, with DPI compatibility properties of the Python binary unchanged, and a
+monitor resolution greater than 96 DPI, this should make text and lines
+sharper. It should otherwise have no effect.
+
+..
+
+.. bpo: 33768
+.. date: 2018-06-04-19-23-11
+.. nonce: I_2qpV
+.. section: IDLE
+
+Clicking on a context line moves that line to the top of the editor window.
+
+..
+
+.. bpo: 33763
+.. date: 2018-06-03-20-12-57
+.. nonce: URiFlE
+.. section: IDLE
+
+IDLE: Use read-only text widget for code context instead of label widget.
+
+..
+
+.. bpo: 33664
+.. date: 2018-06-03-09-13-28
+.. nonce: PZzQyL
+.. section: IDLE
+
+Scroll IDLE editor text by lines. Previously, the mouse wheel and scrollbar
+slider moved text by a fixed number of pixels, resulting in partial lines at
+the top of the editor box. The change also applies to the shell and grep
+output windows, but not to read-only text views.
+
+..
+
+.. bpo: 33679
+.. date: 2018-05-29-07-14-37
+.. nonce: MgX_Ui
+.. section: IDLE
+
+Enable theme-specific color configuration for Code Context. Use the
+Highlights tab to see the setting for built-in themes or add settings to
+custom themes.
+
+..
+
+.. bpo: 33642
+.. date: 2018-05-24-20-42-44
+.. nonce: J0VQbS
+.. section: IDLE
+
+Display up to maxlines non-blank lines for Code Context. If there is no
+current context, show a single blank line.
+
+..
+
+.. bpo: 33628
+.. date: 2018-05-23-19-51-07
+.. nonce: sLlFLO
+.. section: IDLE
+
+IDLE: Cleanup codecontext.py and its test.
+
+..
+
+.. bpo: 33564
+.. date: 2018-05-17-19-41-12
+.. nonce: XzHZJe
+.. section: IDLE
+
+IDLE's code context now recognizes async as a block opener.
+
+..
+
+.. bpo: 29706
+.. date: 2018-05-15-17-01-10
+.. nonce: id4H5i
+.. section: IDLE
+
+IDLE now colors async and await as keywords in 3.6. They become full
+keywords in 3.7.
+
+..
+
+.. bpo: 21474
+.. date: 2018-04-29-16-13-02
+.. nonce: bglg-F
+.. section: IDLE
+
+Update word/identifier definition from ascii to unicode. In text and entry
+boxes, this affects selection by double-click, movement left/right by
+control-left/right, and deletion left/right by control-BACKSPACE/DEL.
+
+..
+
+.. bpo: 33204
+.. date: 2018-04-02-00-28-13
+.. nonce: NBsuIv
+.. section: IDLE
+
+IDLE: consistently color invalid string prefixes. A 'u' string prefix cannot
+be paired with either 'r' or 'f'. Consistently color as much of the prefix,
+starting at the right, as is valid. Revise and extend colorizer test.
+
+..
+
+.. bpo: 32831
+.. date: 2018-02-12-08-08-45
+.. nonce: srDRvU
+.. section: IDLE
+
+Add docstrings and tests for codecontext.
+
+..
+
+.. bpo: 33189
+.. date: 2018-04-03-18-10-00
+.. nonce: QrXR00
+.. section: Tools/Demos
+
+:program:`pygettext.py` now recognizes only literal strings as docstrings
+and translatable strings, and rejects bytes literals and f-string
+expressions.
+
+..
+
+.. bpo: 31920
+.. date: 2018-03-26-18-54-24
+.. nonce: u_WKsT
+.. section: Tools/Demos
+
+Fixed handling directories as arguments in the ``pygettext`` script. Based
+on patch by Oleg Krasnikov.
+
+..
+
+.. bpo: 29673
+.. date: 2018-03-16-17-25-05
+.. nonce: m8QtaW
+.. section: Tools/Demos
+
+Fix pystackv and pystack gdbinit macros.
+
+..
+
+.. bpo: 32885
+.. date: 2018-02-20-12-16-47
+.. nonce: dL5x7C
+.. section: Tools/Demos
+
+Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic
+backup creation (files with ``~`` suffix).
+
+..
+
+.. bpo: 31583
+.. date: 2017-09-26-10-11-21
+.. nonce: TM90_H
+.. section: Tools/Demos
+
+Fix 2to3 for using with --add-suffix option but without --output-dir option
+for relative path to files in current directory.
+
+..
+
+.. bpo: 32374
+.. date: 2018-01-09-17-03-54
+.. nonce: SwwLoz
+.. section: C API
+
+Document that m_traverse for multi-phase initialized modules can be called
+with m_state=NULL, and add a sanity check
diff --git a/Misc/NEWS.d/next/Build/2018-04-30-17-36-46.bpo-33394._Vdi4t.rst b/Misc/NEWS.d/next/Build/2018-04-30-17-36-46.bpo-33394._Vdi4t.rst
deleted file mode 100644
index b25fbb02c40..00000000000
--- a/Misc/NEWS.d/next/Build/2018-04-30-17-36-46.bpo-33394._Vdi4t.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Enable the verbose build for extension modules, when GNU make is passed
-macros on the command line.
diff --git a/Misc/NEWS.d/next/Build/2018-05-10-21-10-01.bpo-33012.5Zfjac.rst b/Misc/NEWS.d/next/Build/2018-05-10-21-10-01.bpo-33012.5Zfjac.rst
deleted file mode 100644
index ecaa5c6117a..00000000000
--- a/Misc/NEWS.d/next/Build/2018-05-10-21-10-01.bpo-33012.5Zfjac.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Add ``-Wno-cast-function-type`` for gcc 8 for silencing warnings about
-function casts like casting to PyCFunction in method definition lists.
diff --git a/Misc/NEWS.d/next/Build/2018-05-15-12-44-50.bpo-33522.mJoNcA.rst b/Misc/NEWS.d/next/Build/2018-05-15-12-44-50.bpo-33522.mJoNcA.rst
deleted file mode 100644
index f44862f0c45..00000000000
--- a/Misc/NEWS.d/next/Build/2018-05-15-12-44-50.bpo-33522.mJoNcA.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Enable CI builds on Visual Studio Team Services at
-https://python.visualstudio.com/cpython
diff --git a/Misc/NEWS.d/next/Build/2018-05-28-11-40-22.bpo-33614.28e0sE.rst b/Misc/NEWS.d/next/Build/2018-05-28-11-40-22.bpo-33614.28e0sE.rst
deleted file mode 100644
index 9091c282ad0..00000000000
--- a/Misc/NEWS.d/next/Build/2018-05-28-11-40-22.bpo-33614.28e0sE.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Ensures module definition files for the stable ABI on Windows are correctly
-regenerated.
diff --git a/Misc/NEWS.d/next/Build/2018-06-04-21-34-34.bpo-5755.65GmCj.rst b/Misc/NEWS.d/next/Build/2018-06-04-21-34-34.bpo-5755.65GmCj.rst
deleted file mode 100644
index 8bcad4418ba..00000000000
--- a/Misc/NEWS.d/next/Build/2018-06-04-21-34-34.bpo-5755.65GmCj.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This
-option emitted annoying warnings when building extension modules written in
-C++.
diff --git a/Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst b/Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst
deleted file mode 100644
index f9cf6d6b99c..00000000000
--- a/Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Document that m_traverse for multi-phase initialized modules can be called
-with m_state=NULL, and add a sanity check
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-10-02-21-02-14.bpo-21983.UoC319.rst b/Misc/NEWS.d/next/Core and Builtins/2017-10-02-21-02-14.bpo-21983.UoC319.rst
deleted file mode 100644
index 88a03685073..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2017-10-02-21-02-14.bpo-21983.UoC319.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix a crash in `ctypes.cast()` in case the type argument is a ctypes
-structured data type. Patch by Eryk Sun and Oren Milman.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-12-14-02-28.bpo-32282.xFVMTn.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-12-14-02-28.bpo-32282.xFVMTn.rst
deleted file mode 100644
index 1c833c5439b..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2017-12-12-14-02-28.bpo-32282.xFVMTn.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix an unnecessary ifdef in the include of VersionHelpers.h in socketmodule
-on Windows.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-33041.XwPhI2.rst b/Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-33041.XwPhI2.rst
deleted file mode 100644
index 97b5e2ef1e5..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-33041.XwPhI2.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fixed jumping when the function contains an ``async for`` loop.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-04-02-09-32-40.bpo-33199.TPnxQu.rst b/Misc/NEWS.d/next/Core and Builtins/2018-04-02-09-32-40.bpo-33199.TPnxQu.rst
deleted file mode 100644
index 22abf8d0001..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-04-02-09-32-40.bpo-33199.TPnxQu.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix ``ma_version_tag`` in dict implementation is uninitialized when copying
-from key-sharing dict.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-04-03-00-30-25.bpo-29922.CdLuMl.rst b/Misc/NEWS.d/next/Core and Builtins/2018-04-03-00-30-25.bpo-29922.CdLuMl.rst
deleted file mode 100644
index d8c144e59d6..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-04-03-00-30-25.bpo-29922.CdLuMl.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Improved error messages in 'async with' when ``__aenter__()`` or
-``__aexit__()`` return non-awaitable object.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-04-05-22-20-44.bpo-33231.3Jmo0q.rst b/Misc/NEWS.d/next/Core and Builtins/2018-04-05-22-20-44.bpo-33231.3Jmo0q.rst
deleted file mode 100644
index de54fbb5267..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-04-05-22-20-44.bpo-33231.3Jmo0q.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix potential memory leak in ``normalizestring()``.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-04-25-20-44-42.bpo-28055.f49kfC.rst b/Misc/NEWS.d/next/Core and Builtins/2018-04-25-20-44-42.bpo-28055.f49kfC.rst
deleted file mode 100644
index c7d849906fc..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-04-25-20-44-42.bpo-28055.f49kfC.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix unaligned accesses in siphash24(). Patch by Rolf Eike Beer.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-05-02-08-36-03.bpo-33391.z4a7rb.rst b/Misc/NEWS.d/next/Core and Builtins/2018-05-02-08-36-03.bpo-33391.z4a7rb.rst
deleted file mode 100644
index ab17aa408c0..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-05-02-08-36-03.bpo-33391.z4a7rb.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix a leak in set_symmetric_difference().
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-05-14-11-00-00.bpo-31849.EmHaH4.rst b/Misc/NEWS.d/next/Core and Builtins/2018-05-14-11-00-00.bpo-31849.EmHaH4.rst
deleted file mode 100644
index 876a3cf0aa1..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-05-14-11-00-00.bpo-31849.EmHaH4.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix signed/unsigned comparison warning in pyhash.c.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-05-23-20-46-14.bpo-33622.xPucO9.rst b/Misc/NEWS.d/next/Core and Builtins/2018-05-23-20-46-14.bpo-33622.xPucO9.rst
deleted file mode 100644
index e589b450322..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-05-23-20-46-14.bpo-33622.xPucO9.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Fixed a leak when the garbage collector fails to add an object with the
-``__del__`` method or referenced by it into the :data:`gc.garbage` list.
-:c:func:`PyGC_Collect` can now be called when an exception is set and
-preserves it.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-05-28-12-28-53.bpo-30654.9fDJye.rst b/Misc/NEWS.d/next/Core and Builtins/2018-05-28-12-28-53.bpo-30654.9fDJye.rst
deleted file mode 100644
index 01c27daa8f8..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-05-28-12-28-53.bpo-30654.9fDJye.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even
-when there was a custom handler set previously. Patch by Philipp Kerling.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-06-06-23-24-40.bpo-33786.lBvT8z.rst b/Misc/NEWS.d/next/Core and Builtins/2018-06-06-23-24-40.bpo-33786.lBvT8z.rst
deleted file mode 100644
index 57deefe339b..00000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2018-06-06-23-24-40.bpo-33786.lBvT8z.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix asynchronous generators to handle GeneratorExit in athrow() correctly
diff --git a/Misc/NEWS.d/next/Documentation/2017-09-13-07-14-59.bpo-31432.yAY4Z3.rst b/Misc/NEWS.d/next/Documentation/2017-09-13-07-14-59.bpo-31432.yAY4Z3.rst
deleted file mode 100644
index 18e5353b249..00000000000
--- a/Misc/NEWS.d/next/Documentation/2017-09-13-07-14-59.bpo-31432.yAY4Z3.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for
-ssl.SSLContext.verify_mode.
diff --git a/Misc/NEWS.d/next/Documentation/2018-01-13-20-30-53.bpo-8243.s98r28.rst b/Misc/NEWS.d/next/Documentation/2018-01-13-20-30-53.bpo-8243.s98r28.rst
deleted file mode 100644
index a3520d05c09..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-01-13-20-30-53.bpo-8243.s98r28.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Add a note about curses.addch and curses.addstr exception behavior when
-writing outside a window, or pad.
diff --git a/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst b/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst
deleted file mode 100644
index c9ac8e22df0..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Update documentation to clarify that ``WindowsRegistryFinder`` implements
-``MetaPathFinder``. (Patch by Himanshu Lakhara)
diff --git a/Misc/NEWS.d/next/Documentation/2018-03-11-18-53-47.bpo-18802.JhAqH3.rst b/Misc/NEWS.d/next/Documentation/2018-03-11-18-53-47.bpo-18802.JhAqH3.rst
deleted file mode 100644
index cb9cc2599ac..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-03-11-18-53-47.bpo-18802.JhAqH3.rst
+++ /dev/null
@@ -1 +0,0 @@
-Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag.
diff --git a/Misc/NEWS.d/next/Documentation/2018-03-20-20-11-05.bpo-28247.-V-WS-.rst b/Misc/NEWS.d/next/Documentation/2018-03-20-20-11-05.bpo-28247.-V-WS-.rst
deleted file mode 100644
index 28a802136fa..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-03-20-20-11-05.bpo-28247.-V-WS-.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Update :mod:`zipapp` documentation to describe how to make standalone
-applications.
diff --git a/Misc/NEWS.d/next/Documentation/2018-03-22-19-23-04.bpo-27212.wrE5KR.rst b/Misc/NEWS.d/next/Documentation/2018-03-22-19-23-04.bpo-27212.wrE5KR.rst
deleted file mode 100644
index 5910d2c1734..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-03-22-19-23-04.bpo-27212.wrE5KR.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Modify documentation for the :func:`islice` recipe to consume initial values
-up to the start index.
diff --git a/Misc/NEWS.d/next/Documentation/2018-03-28-17-03-17.bpo-33126.5UGkNv.rst b/Misc/NEWS.d/next/Documentation/2018-03-28-17-03-17.bpo-33126.5UGkNv.rst
deleted file mode 100644
index 1219790e79e..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-03-28-17-03-17.bpo-33126.5UGkNv.rst
+++ /dev/null
@@ -1 +0,0 @@
-Document PyBuffer_ToContiguous().
diff --git a/Misc/NEWS.d/next/Documentation/2018-04-01-14-30-36.bpo-33195.dRS-XX.rst b/Misc/NEWS.d/next/Documentation/2018-04-01-14-30-36.bpo-33195.dRS-XX.rst
deleted file mode 100644
index 6884640325b..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-04-01-14-30-36.bpo-33195.dRS-XX.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
-related APIs are deprecated since Python 3.3, but it is missed in the
-document.
diff --git a/Misc/NEWS.d/next/Documentation/2018-04-01-21-03-41.bpo-33201.aa8Lkl.rst b/Misc/NEWS.d/next/Documentation/2018-04-01-21-03-41.bpo-33201.aa8Lkl.rst
deleted file mode 100644
index bdee48ba031..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-04-01-21-03-41.bpo-33201.aa8Lkl.rst
+++ /dev/null
@@ -1 +0,0 @@
-Modernize documentation for writing C extension types.
diff --git a/Misc/NEWS.d/next/Documentation/2018-04-20-14-09-36.bpo-33276.rA1z_3.rst b/Misc/NEWS.d/next/Documentation/2018-04-20-14-09-36.bpo-33276.rA1z_3.rst
deleted file mode 100644
index 0da58a0ce4c..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-04-20-14-09-36.bpo-33276.rA1z_3.rst
+++ /dev/null
@@ -1 +0,0 @@
-Clarify that the ``__path__`` attribute on modules cannot be just any value.
diff --git a/Misc/NEWS.d/next/Documentation/2018-04-29-04-02-18.bpo-33378.-anAHN.rst b/Misc/NEWS.d/next/Documentation/2018-04-29-04-02-18.bpo-33378.-anAHN.rst
deleted file mode 100644
index 43214d10b7c..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-04-29-04-02-18.bpo-33378.-anAHN.rst
+++ /dev/null
@@ -1 +0,0 @@
-Add Korean language switcher for https://docs.python.org/3/
diff --git a/Misc/NEWS.d/next/Documentation/2018-05-14-15-23-51.bpo-33421.3GU_QO.rst b/Misc/NEWS.d/next/Documentation/2018-05-14-15-23-51.bpo-33421.3GU_QO.rst
deleted file mode 100644
index 75694b7be1e..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-05-14-15-23-51.bpo-33421.3GU_QO.rst
+++ /dev/null
@@ -1 +0,0 @@
-Add missing documentation for ``typing.AsyncContextManager``.
diff --git a/Misc/NEWS.d/next/Documentation/2018-05-14-20-08-58.bpo-33503.Wvt0qg.rst b/Misc/NEWS.d/next/Documentation/2018-05-14-20-08-58.bpo-33503.Wvt0qg.rst
deleted file mode 100644
index 27025c31a03..00000000000
--- a/Misc/NEWS.d/next/Documentation/2018-05-14-20-08-58.bpo-33503.Wvt0qg.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix broken pypi link
diff --git a/Misc/NEWS.d/next/IDLE/2018-02-12-08-08-45.bpo-32831.srDRvU.rst b/Misc/NEWS.d/next/IDLE/2018-02-12-08-08-45.bpo-32831.srDRvU.rst
deleted file mode 100644
index 583e341f94f..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-02-12-08-08-45.bpo-32831.srDRvU.rst
+++ /dev/null
@@ -1 +0,0 @@
-Add docstrings and tests for codecontext.
diff --git a/Misc/NEWS.d/next/IDLE/2018-04-02-00-28-13.bpo-33204.NBsuIv.rst b/Misc/NEWS.d/next/IDLE/2018-04-02-00-28-13.bpo-33204.NBsuIv.rst
deleted file mode 100644
index 3ae937bab93..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-04-02-00-28-13.bpo-33204.NBsuIv.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-IDLE: consistently color invalid string prefixes. A 'u' string prefix cannot
-be paired with either 'r' or 'f'. Consistently color as much of the prefix,
-starting at the right, as is valid. Revise and extend colorizer test.
diff --git a/Misc/NEWS.d/next/IDLE/2018-04-29-16-13-02.bpo-21474.bglg-F.rst b/Misc/NEWS.d/next/IDLE/2018-04-29-16-13-02.bpo-21474.bglg-F.rst
deleted file mode 100644
index caf640b73b2..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-04-29-16-13-02.bpo-21474.bglg-F.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Update word/identifier definition from ascii to unicode. In text and entry
-boxes, this affects selection by double-click, movement left/right by
-control-left/right, and deletion left/right by control-BACKSPACE/DEL.
diff --git a/Misc/NEWS.d/next/IDLE/2018-05-15-17-01-10.bpo-29706.id4H5i.rst b/Misc/NEWS.d/next/IDLE/2018-05-15-17-01-10.bpo-29706.id4H5i.rst
deleted file mode 100644
index b25a878b156..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-05-15-17-01-10.bpo-29706.id4H5i.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-IDLE now colors async and await as keywords in 3.6. They become full
-keywords in 3.7.
diff --git a/Misc/NEWS.d/next/IDLE/2018-05-17-19-41-12.bpo-33564.XzHZJe.rst b/Misc/NEWS.d/next/IDLE/2018-05-17-19-41-12.bpo-33564.XzHZJe.rst
deleted file mode 100644
index df828485f69..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-05-17-19-41-12.bpo-33564.XzHZJe.rst
+++ /dev/null
@@ -1 +0,0 @@
-IDLE's code context now recognizes async as a block opener.
diff --git a/Misc/NEWS.d/next/IDLE/2018-05-23-19-51-07.bpo-33628.sLlFLO.rst b/Misc/NEWS.d/next/IDLE/2018-05-23-19-51-07.bpo-33628.sLlFLO.rst
deleted file mode 100644
index f0b13a21c34..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-05-23-19-51-07.bpo-33628.sLlFLO.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-IDLE: Cleanup codecontext.py and its test.
-
diff --git a/Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst b/Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst
deleted file mode 100644
index b1d0763a8a9..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Display up to maxlines non-blank lines for Code Context.
-If there is no current context, show a single blank line.
diff --git a/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst b/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst
deleted file mode 100644
index 2d52fa86490..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Enable theme-specific color configuration for Code Context.
-Use the Highlights tab to see the setting for built-in themes
-or add settings to custom themes.
diff --git a/Misc/NEWS.d/next/IDLE/2018-06-03-09-13-28.bpo-33664.PZzQyL.rst b/Misc/NEWS.d/next/IDLE/2018-06-03-09-13-28.bpo-33664.PZzQyL.rst
deleted file mode 100644
index 48f602f641c..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-06-03-09-13-28.bpo-33664.PZzQyL.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-Scroll IDLE editor text by lines.
-Previously, the mouse wheel and scrollbar slider moved text by a fixed
-number of pixels, resulting in partial lines at the top of the editor
-box. The change also applies to the shell and grep output windows,
-but not to read-only text views.
diff --git a/Misc/NEWS.d/next/IDLE/2018-06-03-20-12-57.bpo-33763.URiFlE.rst b/Misc/NEWS.d/next/IDLE/2018-06-03-20-12-57.bpo-33763.URiFlE.rst
deleted file mode 100644
index 187ef650cb7..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-06-03-20-12-57.bpo-33763.URiFlE.rst
+++ /dev/null
@@ -1 +0,0 @@
-IDLE: Use read-only text widget for code context instead of label widget.
diff --git a/Misc/NEWS.d/next/IDLE/2018-06-04-19-23-11.bpo-33768.I_2qpV.rst b/Misc/NEWS.d/next/IDLE/2018-06-04-19-23-11.bpo-33768.I_2qpV.rst
deleted file mode 100644
index 689aede15ac..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-06-04-19-23-11.bpo-33768.I_2qpV.rst
+++ /dev/null
@@ -1 +0,0 @@
-Clicking on a context line moves that line to the top of the editor window.
diff --git a/Misc/NEWS.d/next/IDLE/2018-06-10-17-59-36.bpo-33656.60ZqJS.rst b/Misc/NEWS.d/next/IDLE/2018-06-10-17-59-36.bpo-33656.60ZqJS.rst
deleted file mode 100644
index e0c51b2c0f9..00000000000
--- a/Misc/NEWS.d/next/IDLE/2018-06-10-17-59-36.bpo-33656.60ZqJS.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-On Windows, add API call saying that tk scales for DPI. On Windows
-8.1+ or 10, with DPI compatibility properties of the Python binary
-unchanged, and a monitor resolution greater than 96 DPI, this should
-make text and lines sharper. It should otherwise have no effect.
diff --git a/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst b/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst
deleted file mode 100644
index 3e1cd130100..00000000000
--- a/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-pydoc: the stop() method of the private ServerThread class now waits until
-DocServer.serve_until_quit() completes and then explicitly sets its
-docserver attribute to None to break a reference cycle.
diff --git a/Misc/NEWS.d/next/Library/2017-09-29-16-40-38.bpo-16865.l-f6I_.rst b/Misc/NEWS.d/next/Library/2017-09-29-16-40-38.bpo-16865.l-f6I_.rst
deleted file mode 100644
index afaff736bf1..00000000000
--- a/Misc/NEWS.d/next/Library/2017-09-29-16-40-38.bpo-16865.l-f6I_.rst
+++ /dev/null
@@ -1 +0,0 @@
-Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev Finer.
diff --git a/Misc/NEWS.d/next/Library/2017-10-18-19-05-17.bpo-31457.KlE6r8.rst b/Misc/NEWS.d/next/Library/2017-10-18-19-05-17.bpo-31457.KlE6r8.rst
deleted file mode 100644
index 49463c4fd15..00000000000
--- a/Misc/NEWS.d/next/Library/2017-10-18-19-05-17.bpo-31457.KlE6r8.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-If nested log adapters are used, the inner ``process()`` methods are no
-longer omitted.
diff --git a/Misc/NEWS.d/next/Library/2017-10-31.bpo-31908.g4xh8x.rst b/Misc/NEWS.d/next/Library/2017-10-31.bpo-31908.g4xh8x.rst
deleted file mode 100644
index 700bc690764..00000000000
--- a/Misc/NEWS.d/next/Library/2017-10-31.bpo-31908.g4xh8x.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix output of cover files for ``trace`` module command-line tool.
-Previously emitted cover files only when ``--missing`` option was used.
-Patch by Michael Selik. \ No newline at end of file
diff --git a/Misc/NEWS.d/next/Library/2018-02-28-13-08-00.bpo-32844.u8tnAe.rst b/Misc/NEWS.d/next/Library/2018-02-28-13-08-00.bpo-32844.u8tnAe.rst
deleted file mode 100644
index 67412fe5ba4..00000000000
--- a/Misc/NEWS.d/next/Library/2018-02-28-13-08-00.bpo-32844.u8tnAe.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess
-if another low descriptor is closed.
diff --git a/Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst b/Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst
deleted file mode 100644
index 4e6dfa8e978..00000000000
--- a/Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix a regression in :mod:`ipaddress` that result of :meth:`hosts`
-is empty when the network is constructed by a tuple containing an
-integer mask and only 1 bit left for addresses.
diff --git a/Misc/NEWS.d/next/Library/2018-03-12-00-27-56.bpo-33021.m19B9T.rst b/Misc/NEWS.d/next/Library/2018-03-12-00-27-56.bpo-33021.m19B9T.rst
deleted file mode 100644
index 50dfafe600d..00000000000
--- a/Misc/NEWS.d/next/Library/2018-03-12-00-27-56.bpo-33021.m19B9T.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Release the GIL during fstat() calls, avoiding hang of all threads when
-calling mmap.mmap(), os.urandom(), and random.seed(). Patch by Nir Soffer.
diff --git a/Misc/NEWS.d/next/Library/2018-03-24-15-08-24.bpo-33127.olJmHv.rst b/Misc/NEWS.d/next/Library/2018-03-24-15-08-24.bpo-33127.olJmHv.rst
deleted file mode 100644
index 635aabbde03..00000000000
--- a/Misc/NEWS.d/next/Library/2018-03-24-15-08-24.bpo-33127.olJmHv.rst
+++ /dev/null
@@ -1 +0,0 @@
-The ssl module now compiles with LibreSSL 2.7.1.
diff --git a/Misc/NEWS.d/next/Library/2018-03-25-13-18-16.bpo-33096.ofdbe7.rst b/Misc/NEWS.d/next/Library/2018-03-25-13-18-16.bpo-33096.ofdbe7.rst
deleted file mode 100644
index c55ea20b337..00000000000
--- a/Misc/NEWS.d/next/Library/2018-03-25-13-18-16.bpo-33096.ofdbe7.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Allow ttk.Treeview.insert to insert iid that has a false boolean value.
-Note iid=0 and iid=False would be same.
-Patch by Garvit Khatri.
-
diff --git a/Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst b/Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst
deleted file mode 100644
index 13defbb03cf..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-The urllib.robotparser's ``__str__`` representation now includes wildcard
-entries and the "Crawl-delay" and "Request-rate" fields. Patch by
-Michael Lazar.
diff --git a/Misc/NEWS.d/next/Library/2018-04-03-10-37-13.bpo-33209.9sGWE_.rst b/Misc/NEWS.d/next/Library/2018-04-03-10-37-13.bpo-33209.9sGWE_.rst
deleted file mode 100644
index d98b1e174e5..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-03-10-37-13.bpo-33209.9sGWE_.rst
+++ /dev/null
@@ -1 +0,0 @@
-End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
diff --git a/Misc/NEWS.d/next/Library/2018-04-04-23-41-30.bpo-33224.pyR0jB.rst b/Misc/NEWS.d/next/Library/2018-04-04-23-41-30.bpo-33224.pyR0jB.rst
deleted file mode 100644
index 87ff100da4b..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-04-23-41-30.bpo-33224.pyR0jB.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Update difflib.mdiff() for PEP 479. Convert an uncaught StopIteration in a
-generator into a return-statement.
diff --git a/Misc/NEWS.d/next/Library/2018-04-05-11-09-45.bpo-33203.Hje9Py.rst b/Misc/NEWS.d/next/Library/2018-04-05-11-09-45.bpo-33203.Hje9Py.rst
deleted file mode 100644
index ab6d17b5d1b..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-05-11-09-45.bpo-33203.Hje9Py.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-``random.Random.choice()`` now raises ``IndexError`` for empty sequences
-consistently even when called from subclasses without a ``getrandbits()``
-implementation.
diff --git a/Misc/NEWS.d/next/Library/2018-04-10-20-57-14.bpo-33256.ndHkqu.rst b/Misc/NEWS.d/next/Library/2018-04-10-20-57-14.bpo-33256.ndHkqu.rst
deleted file mode 100644
index a0605c04b4d..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-10-20-57-14.bpo-33256.ndHkqu.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix display of ``<module>`` call in the html produced by ``cgitb.html()``. Patch by Stéphane Blondon.
diff --git a/Misc/NEWS.d/next/Library/2018-04-11-20-29-19.bpo-33263.B56Hc1.rst b/Misc/NEWS.d/next/Library/2018-04-11-20-29-19.bpo-33263.B56Hc1.rst
deleted file mode 100644
index 77994f6a598..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-11-20-29-19.bpo-33263.B56Hc1.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix FD leak in `_SelectorSocketTransport` Patch by Vlad Starostin.
diff --git a/Misc/NEWS.d/next/Library/2018-04-18-19-12-25.bpo-33308.fW75xi.rst b/Misc/NEWS.d/next/Library/2018-04-18-19-12-25.bpo-33308.fW75xi.rst
deleted file mode 100644
index 586004a3c6c..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-18-19-12-25.bpo-33308.fW75xi.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed a crash in the :mod:`parser` module when converting an ST object to a
-tree of tuples or lists with ``line_info=False`` and ``col_info=True``.
diff --git a/Misc/NEWS.d/next/Library/2018-04-20-10-43-17.bpo-33131.L2E977.rst b/Misc/NEWS.d/next/Library/2018-04-20-10-43-17.bpo-33131.L2E977.rst
deleted file mode 100644
index 875c6ac5f74..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-20-10-43-17.bpo-33131.L2E977.rst
+++ /dev/null
@@ -1 +0,0 @@
-Upgrade bundled version of pip to 10.0.1.
diff --git a/Misc/NEWS.d/next/Library/2018-04-21-00-24-08.bpo-991266.h93TP_.rst b/Misc/NEWS.d/next/Library/2018-04-21-00-24-08.bpo-991266.h93TP_.rst
deleted file mode 100644
index 3af6c27cf21..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-21-00-24-08.bpo-991266.h93TP_.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix quoting of the ``Comment`` attribute of :class:`http.cookies.SimpleCookie`.
diff --git a/Misc/NEWS.d/next/Library/2018-04-23-13-21-39.bpo-33329.lQ-Eod.rst b/Misc/NEWS.d/next/Library/2018-04-23-13-21-39.bpo-33329.lQ-Eod.rst
deleted file mode 100644
index d1a4e56d04b..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-23-13-21-39.bpo-33329.lQ-Eod.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix multiprocessing regression on newer glibcs
diff --git a/Misc/NEWS.d/next/Library/2018-04-29-11-15-38.bpo-33383.g32YWn.rst b/Misc/NEWS.d/next/Library/2018-04-29-11-15-38.bpo-33383.g32YWn.rst
deleted file mode 100644
index 7b65baac97b..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-29-11-15-38.bpo-33383.g32YWn.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed crash in the get() method of the :mod:`dbm.ndbm` database object when
-it is called with a single argument.
diff --git a/Misc/NEWS.d/next/Library/2018-04-29-23-56-20.bpo-33197.dgRLqr.rst b/Misc/NEWS.d/next/Library/2018-04-29-23-56-20.bpo-33197.dgRLqr.rst
deleted file mode 100644
index 1bbb44b2fc3..00000000000
--- a/Misc/NEWS.d/next/Library/2018-04-29-23-56-20.bpo-33197.dgRLqr.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Update error message when constructing invalid inspect.Parameters
-Patch by Dong-hee Na.
diff --git a/Misc/NEWS.d/next/Library/2018-05-05-09-53-05.bpo-33422.4FtQ0q.rst b/Misc/NEWS.d/next/Library/2018-05-05-09-53-05.bpo-33422.4FtQ0q.rst
deleted file mode 100644
index 0d284d508f1..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-05-09-53-05.bpo-33422.4FtQ0q.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix trailing quotation marks getting deleted when looking up byte/string
-literals on pydoc. Patch by Andrés Delfino.
diff --git a/Misc/NEWS.d/next/Library/2018-05-05-18-02-24.bpo-20087.lJrvXL.rst b/Misc/NEWS.d/next/Library/2018-05-05-18-02-24.bpo-20087.lJrvXL.rst
deleted file mode 100644
index 2342cb78192..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-05-18-02-24.bpo-20087.lJrvXL.rst
+++ /dev/null
@@ -1 +0,0 @@
-Updated alias mapping with glibc 2.27 supported locales.
diff --git a/Misc/NEWS.d/next/Library/2018-05-10-14-51-19.bpo-28556.y3zK6I.rst b/Misc/NEWS.d/next/Library/2018-05-10-14-51-19.bpo-28556.y3zK6I.rst
deleted file mode 100644
index 8ed4658211f..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-10-14-51-19.bpo-28556.y3zK6I.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Minor fixes in typing module: add annotations to ``NamedTuple.__new__``,
-pass ``*args`` and ``**kwds`` in ``Generic.__new__``. Original PRs by
-Paulius Šarka and Chad Dombrova.
diff --git a/Misc/NEWS.d/next/Library/2018-05-16-05-24-43.bpo-26819.taxbVT.rst b/Misc/NEWS.d/next/Library/2018-05-16-05-24-43.bpo-26819.taxbVT.rst
deleted file mode 100644
index d407a580031..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-16-05-24-43.bpo-26819.taxbVT.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix race condition with `ReadTransport.resume_reading` in Windows proactor
-event loop.
diff --git a/Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst b/Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst
deleted file mode 100644
index 16ba799131f..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Prevent ``uuid.get_node`` from using a DUID instead of a MAC on Windows.
-Patch by Zvi Effron
diff --git a/Misc/NEWS.d/next/Library/2018-05-16-17-05-48.bpo-33548.xWslmx.rst b/Misc/NEWS.d/next/Library/2018-05-16-17-05-48.bpo-33548.xWslmx.rst
deleted file mode 100644
index 65585c15298..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-16-17-05-48.bpo-33548.xWslmx.rst
+++ /dev/null
@@ -1 +0,0 @@
-tempfile._candidate_tempdir_list should consider common TEMP locations
diff --git a/Misc/NEWS.d/next/Library/2018-05-22-13-05-12.bpo-30877.JZEGjI.rst b/Misc/NEWS.d/next/Library/2018-05-22-13-05-12.bpo-30877.JZEGjI.rst
deleted file mode 100644
index 4be0fae4ecb..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-22-13-05-12.bpo-30877.JZEGjI.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fixed a bug in the Python implementation of the JSON decoder that prevented
-the cache of parsed strings from clearing after finishing the decoding.
-Based on patch by c-fos.
diff --git a/Misc/NEWS.d/next/Library/2018-05-23-00-26-27.bpo-11874.glK5iP.rst b/Misc/NEWS.d/next/Library/2018-05-23-00-26-27.bpo-11874.glK5iP.rst
deleted file mode 100644
index 6c75f142c4b..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-23-00-26-27.bpo-11874.glK5iP.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Use a better regex when breaking usage into wrappable parts. Avoids bogus
-assertion errors from custom metavar strings.
diff --git a/Misc/NEWS.d/next/Library/2018-05-28-15-55-12.bpo-33469.hmXBpY.rst b/Misc/NEWS.d/next/Library/2018-05-28-15-55-12.bpo-33469.hmXBpY.rst
deleted file mode 100644
index cc1b2e436f2..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-28-15-55-12.bpo-33469.hmXBpY.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix RuntimeError after closing loop that used run_in_executor
diff --git a/Misc/NEWS.d/next/Library/2018-05-28-17-45-06.bpo-33672.GM_Xm_.rst b/Misc/NEWS.d/next/Library/2018-05-28-17-45-06.bpo-33672.GM_Xm_.rst
deleted file mode 100644
index 36373c02863..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-28-17-45-06.bpo-33672.GM_Xm_.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix Task.__repr__ crash with Cython's bogus coroutines
diff --git a/Misc/NEWS.d/next/Library/2018-05-28-18-40-26.bpo-31467.s4Fad3.rst b/Misc/NEWS.d/next/Library/2018-05-28-18-40-26.bpo-31467.s4Fad3.rst
deleted file mode 100644
index 61cc8baa1cd..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-28-18-40-26.bpo-31467.s4Fad3.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's
-already closed raises AttributeError.
diff --git a/Misc/NEWS.d/next/Library/2018-05-28-22-49-59.bpo-33674.6LFFj7.rst b/Misc/NEWS.d/next/Library/2018-05-28-22-49-59.bpo-33674.6LFFj7.rst
deleted file mode 100644
index 1e9868073f7..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-28-22-49-59.bpo-33674.6LFFj7.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto:
-start immediately the handshake instead of using call_soon(). Previously,
-data_received() could be called before the handshake started, causing the
-handshake to hang or fail.
diff --git a/Misc/NEWS.d/next/Library/2018-05-29-12-51-18.bpo-32684.ZEIism.rst b/Misc/NEWS.d/next/Library/2018-05-29-12-51-18.bpo-32684.ZEIism.rst
deleted file mode 100644
index b360bbcf799..00000000000
--- a/Misc/NEWS.d/next/Library/2018-05-29-12-51-18.bpo-32684.ZEIism.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix gather to propagate cancellation of itself even with return_exceptions.
diff --git a/Misc/NEWS.d/next/Library/2018-06-03-22-41-59.bpo-33767.2e82g3.rst b/Misc/NEWS.d/next/Library/2018-06-03-22-41-59.bpo-33767.2e82g3.rst
deleted file mode 100644
index 34833018909..00000000000
--- a/Misc/NEWS.d/next/Library/2018-06-03-22-41-59.bpo-33767.2e82g3.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-The concatenation (``+``) and repetition (``*``) sequence operations now
-raise :exc:`TypeError` instead of :exc:`SystemError` when performed on
-:class:`mmap.mmap` objects. Patch by Zackery Spytz.
diff --git a/Misc/NEWS.d/next/Library/2018-06-08-17-34-16.bpo-30805.3qCWa0.rst b/Misc/NEWS.d/next/Library/2018-06-08-17-34-16.bpo-30805.3qCWa0.rst
deleted file mode 100644
index e1ba5767539..00000000000
--- a/Misc/NEWS.d/next/Library/2018-06-08-17-34-16.bpo-30805.3qCWa0.rst
+++ /dev/null
@@ -1 +0,0 @@
-Avoid race condition with debug logging
diff --git a/Misc/NEWS.d/next/Library/2018-06-10-13-26-02.bpo-33812.frGAOr.rst b/Misc/NEWS.d/next/Library/2018-06-10-13-26-02.bpo-33812.frGAOr.rst
deleted file mode 100644
index 0dc3df6a795..00000000000
--- a/Misc/NEWS.d/next/Library/2018-06-10-13-26-02.bpo-33812.frGAOr.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d)
-returning None is now treated as naive by the astimezone() method.
diff --git a/Misc/NEWS.d/next/Library/2018-06-10-19-29-17.bpo-30167.G5EgC5.rst b/Misc/NEWS.d/next/Library/2018-06-10-19-29-17.bpo-30167.G5EgC5.rst
deleted file mode 100644
index 072a001adab..00000000000
--- a/Misc/NEWS.d/next/Library/2018-06-10-19-29-17.bpo-30167.G5EgC5.rst
+++ /dev/null
@@ -1 +0,0 @@
-Prevent site.main() exception if PYTHONSTARTUP is set. Patch by Steve Weber.
diff --git a/Misc/NEWS.d/next/Tests/2018-01-08-13-33-47.bpo-19417.2asoXy.rst b/Misc/NEWS.d/next/Tests/2018-01-08-13-33-47.bpo-19417.2asoXy.rst
deleted file mode 100644
index 739352fcdd6..00000000000
--- a/Misc/NEWS.d/next/Tests/2018-01-08-13-33-47.bpo-19417.2asoXy.rst
+++ /dev/null
@@ -1 +0,0 @@
-Add test_bdb.py.
diff --git a/Misc/NEWS.d/next/Tests/2018-05-26-16-01-40.bpo-33655.Frb4LA.rst b/Misc/NEWS.d/next/Tests/2018-05-26-16-01-40.bpo-33655.Frb4LA.rst
deleted file mode 100644
index 7ed2ea23237..00000000000
--- a/Misc/NEWS.d/next/Tests/2018-05-26-16-01-40.bpo-33655.Frb4LA.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Ignore test_posix_fallocate failures on BSD platforms that might be due to
-running on ZFS.
diff --git a/Misc/NEWS.d/next/Tools-Demos/2017-09-26-10-11-21.bpo-31583.TM90_H.rst b/Misc/NEWS.d/next/Tools-Demos/2017-09-26-10-11-21.bpo-31583.TM90_H.rst
deleted file mode 100644
index 472f61c5129..00000000000
--- a/Misc/NEWS.d/next/Tools-Demos/2017-09-26-10-11-21.bpo-31583.TM90_H.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix 2to3 for using with --add-suffix option but without --output-dir
-option for relative path to files in current directory.
diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst b/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst
deleted file mode 100644
index e003e1d84fd..00000000000
--- a/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic
-backup creation (files with ``~`` suffix).
diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-03-16-17-25-05.bpo-29673.m8QtaW.rst b/Misc/NEWS.d/next/Tools-Demos/2018-03-16-17-25-05.bpo-29673.m8QtaW.rst
deleted file mode 100644
index 3d515b3ee4d..00000000000
--- a/Misc/NEWS.d/next/Tools-Demos/2018-03-16-17-25-05.bpo-29673.m8QtaW.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix pystackv and pystack gdbinit macros.
diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-03-26-18-54-24.bpo-31920.u_WKsT.rst b/Misc/NEWS.d/next/Tools-Demos/2018-03-26-18-54-24.bpo-31920.u_WKsT.rst
deleted file mode 100644
index 39c694b0728..00000000000
--- a/Misc/NEWS.d/next/Tools-Demos/2018-03-26-18-54-24.bpo-31920.u_WKsT.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed handling directories as arguments in the ``pygettext`` script. Based
-on patch by Oleg Krasnikov.
diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst b/Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst
deleted file mode 100644
index 4d4137240e6..00000000000
--- a/Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-:program:`pygettext.py` now recognizes only literal strings as docstrings
-and translatable strings, and rejects bytes literals and f-string expressions.
diff --git a/Misc/NEWS.d/next/Windows/2018-04-13-11-39-28.bpo-33184.aEohx0.rst b/Misc/NEWS.d/next/Windows/2018-04-13-11-39-28.bpo-33184.aEohx0.rst
deleted file mode 100644
index e754155610a..00000000000
--- a/Misc/NEWS.d/next/Windows/2018-04-13-11-39-28.bpo-33184.aEohx0.rst
+++ /dev/null
@@ -1 +0,0 @@
-Update Windows installer to OpenSSL 1.0.2o.
diff --git a/Misc/NEWS.d/next/macOS/2018-04-07-00-58-50.bpo-33184.rMTiqu.rst b/Misc/NEWS.d/next/macOS/2018-04-07-00-58-50.bpo-33184.rMTiqu.rst
deleted file mode 100644
index 9840dc93722..00000000000
--- a/Misc/NEWS.d/next/macOS/2018-04-07-00-58-50.bpo-33184.rMTiqu.rst
+++ /dev/null
@@ -1 +0,0 @@
-Update macOS installer build to use OpenSSL 1.0.2o.
diff --git a/README.rst b/README.rst
index 035fa786f76..ec1323db939 100644
--- a/README.rst
+++ b/README.rst
@@ -1,5 +1,5 @@
-This is Python version 3.6.5+
-=============================
+This is Python version 3.6.6 candidate 1
+========================================
.. image:: https://travis-ci.org/python/cpython.svg?branch=3.6
:alt: CPython build status on Travis CI