Skip to content

Commit

Permalink
Merge tag 'v3.8.10' into 3.8
Browse files Browse the repository at this point in the history
Python 3.8.10
  • Loading branch information
ambv committed May 3, 2021
2 parents 8ab272f + 3d8993a commit 705c615
Show file tree
Hide file tree
Showing 47 changed files with 498 additions and 125 deletions.
4 changes: 2 additions & 2 deletions Include/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 8
#define PY_MICRO_VERSION 9
#define PY_MICRO_VERSION 10
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0

/* Version as a string */
#define PY_VERSION "3.8.9+"
#define PY_VERSION "3.8.10"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
70 changes: 44 additions & 26 deletions Lib/pydoc_data/topics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Fri Apr 2 12:30:35 2021
# Autogenerated by Sphinx on Mon May 3 11:26:22 2021
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
Expand Down Expand Up @@ -987,9 +987,9 @@
'\n'
'For instance bindings, the precedence of descriptor '
'invocation depends\n'
'on the which descriptor methods are defined. A '
'descriptor can define\n'
'any combination of "__get__()", "__set__()" and '
'on which descriptor methods are defined. A descriptor '
'can define any\n'
'combination of "__get__()", "__set__()" and '
'"__delete__()". If it\n'
'does not define "__get__()", then accessing the '
'attribute will return\n'
Expand Down Expand Up @@ -2746,7 +2746,7 @@
'Calls.\n'
'A function call always assigns values to all parameters '
'mentioned in\n'
'the parameter list, either from position arguments, from '
'the parameter list, either from positional arguments, from '
'keyword\n'
'arguments, or from default values. If the form “"*identifier"” '
'is\n'
Expand All @@ -2758,8 +2758,14 @@
'new\n'
'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'
'passed by\n'
'keyword arguments. Parameters before “"/"” are positional-only\n'
'parameters and may only be passed by positional arguments.\n'
'\n'
'Changed in version 3.8: The "/" function parameter syntax may be '
'used\n'
'to indicate positional-only parameters. See **PEP 570** for '
'details.\n'
'\n'
'Parameters may have an *annotation* of the form “": '
'expression"”\n'
Expand Down Expand Up @@ -5201,7 +5207,7 @@
'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'
'("{"” or\n'
'“"}"”) as the *fill* character in a formatted string '
'literal or when\n'
'using the "str.format()" method. However, it is possible '
Expand Down Expand Up @@ -5874,7 +5880,7 @@
'Calls.\n'
'A function call always assigns values to all parameters '
'mentioned in\n'
'the parameter list, either from position arguments, from '
'the parameter list, either from positional arguments, from '
'keyword\n'
'arguments, or from default values. If the form “"*identifier"” '
'is\n'
Expand All @@ -5886,8 +5892,14 @@
'new\n'
'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'
'passed by\n'
'keyword arguments. Parameters before “"/"” are positional-only\n'
'parameters and may only be passed by positional arguments.\n'
'\n'
'Changed in version 3.8: The "/" function parameter syntax may be '
'used\n'
'to indicate positional-only parameters. See **PEP 570** for '
'details.\n'
'\n'
'Parameters may have an *annotation* of the form “": '
'expression"”\n'
Expand Down Expand Up @@ -6875,7 +6887,7 @@
'\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'
Expand Down Expand Up @@ -7473,12 +7485,18 @@
'\n'
'The "from" clause is used for exception chaining: if given, the '
'second\n'
'*expression* must be another exception class or instance, which '
'will\n'
'then be attached to the raised exception as the "__cause__" '
'attribute\n'
'(which is writable). If the raised exception is not handled, both\n'
'exceptions will be printed:\n'
'*expression* must be another exception class or instance. If the\n'
'second expression is an exception instance, it will be attached to '
'the\n'
'raised exception as the "__cause__" attribute (which is writable). '
'If\n'
'the expression is an exception class, the class will be '
'instantiated\n'
'and the resulting exception instance will be attached to the '
'raised\n'
'exception as the "__cause__" attribute. If the raised exception is '
'not\n'
'handled, both exceptions will be printed:\n'
'\n'
' >>> try:\n'
' ... print(1 / 0)\n'
Expand Down Expand Up @@ -8820,10 +8838,10 @@
'\n'
'For instance bindings, the precedence of descriptor '
'invocation depends\n'
'on the which descriptor methods are defined. A descriptor '
'can define\n'
'any combination of "__get__()", "__set__()" and '
'"__delete__()". If it\n'
'on which descriptor methods are defined. A descriptor can '
'define any\n'
'combination of "__get__()", "__set__()" and "__delete__()". '
'If it\n'
'does not define "__get__()", then accessing the attribute '
'will return\n'
'the descriptor object itself unless there is a value in the '
Expand Down Expand Up @@ -10049,7 +10067,7 @@
'*start* and\n'
' *end* are interpreted as in slice notation.\n'
'\n'
'str.encode(encoding="utf-8", errors="strict")\n'
"str.encode(encoding='utf-8', errors='strict')\n"
'\n'
' Return an encoded version of the string as a bytes '
'object. Default\n'
Expand Down Expand Up @@ -10496,7 +10514,7 @@
'followed by\n'
' the string itself.\n'
'\n'
'str.rsplit(sep=None, maxsplit=-1)\n'
'str.rsplit(sep=None, maxsplit=- 1)\n'
'\n'
' Return a list of the words in the string, using *sep* '
'as the\n'
Expand Down Expand Up @@ -10527,7 +10545,7 @@
" >>> 'mississippi'.rstrip('ipz')\n"
" 'mississ'\n"
'\n'
'str.split(sep=None, maxsplit=-1)\n'
'str.split(sep=None, maxsplit=- 1)\n'
'\n'
' Return a list of the words in the string, using *sep* '
'as the\n'
Expand Down Expand Up @@ -11485,7 +11503,7 @@
' points. All the code points in the range "U+0000 - '
'U+10FFFF"\n'
' can be represented in a string. Python doesn’t have a '
'"char"\n'
'*char*\n'
' type; instead, every code point in the string is '
'represented\n'
' as a string object with length "1". The built-in '
Expand Down
Loading

0 comments on commit 705c615

Please sign in to comment.