Skip to content

Commit

Permalink
Python 3.10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal committed Jun 6, 2022
1 parent fd247db commit f377153
Show file tree
Hide file tree
Showing 82 changed files with 856 additions and 215 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 10
#define PY_MICRO_VERSION 4
#define PY_MICRO_VERSION 5
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0

/* Version as a string */
#define PY_VERSION "3.10.4+"
#define PY_VERSION "3.10.5"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
60 changes: 29 additions & 31 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 Wed Mar 23 20:11:40 2022
# Autogenerated by Sphinx on Mon Jun 6 12:53:10 2022
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
Expand Down Expand Up @@ -93,11 +93,7 @@
' optionally in parentheses, the object is assigned to that '
'target.\n'
'\n'
'* Else: The object must be an iterable with the same number of '
'items\n'
' as there are targets in the target list, and the items are '
'assigned,\n'
' from left to right, to the corresponding targets.\n'
'* Else:\n'
'\n'
' * If the target list contains one target prefixed with an '
'asterisk,\n'
Expand Down Expand Up @@ -4812,7 +4808,10 @@
'is\n'
'applied to separating the commands; the input is split at the '
'first\n'
'";;" pair, even if it is in the middle of a quoted string.\n'
'";;" pair, even if it is in the middle of a quoted string. A\n'
'workaround for strings with double semicolons is to use '
'implicit\n'
'string concatenation "\';\'\';\'" or "";"";"".\n'
'\n'
'If a file ".pdbrc" exists in the user’s home directory or in '
'the\n'
Expand Down Expand Up @@ -7269,12 +7268,12 @@
'Examples:\n'
'\n'
' import foo # foo imported and bound locally\n'
' import foo.bar.baz # foo.bar.baz imported, foo bound '
'locally\n'
' import foo.bar.baz as fbb # foo.bar.baz imported and bound as '
'fbb\n'
' from foo.bar import baz # foo.bar.baz imported and bound as '
'baz\n'
' import foo.bar.baz # foo, foo.bar, and foo.bar.baz '
'imported, foo bound locally\n'
' import foo.bar.baz as fbb # foo, foo.bar, and foo.bar.baz '
'imported, foo.bar.baz bound as fbb\n'
' from foo.bar import baz # foo, foo.bar, and foo.bar.baz '
'imported, foo.bar.baz bound as baz\n'
' from foo import attr # foo imported and foo.attr bound as '
'attr\n'
'\n'
Expand Down Expand Up @@ -8189,7 +8188,7 @@
'| "x(arguments...)", "x.attribute" | '
'attribute reference |\n'
'+-------------------------------------------------+---------------------------------------+\n'
'| "await" "x" | '
'| "await x" | '
'Await expression |\n'
'+-------------------------------------------------+---------------------------------------+\n'
'| "**" | '
Expand Down Expand Up @@ -8225,7 +8224,7 @@
'| ">=", "!=", "==" | '
'tests and identity tests |\n'
'+-------------------------------------------------+---------------------------------------+\n'
'| "not" "x" | '
'| "not x" | '
'Boolean NOT |\n'
'+-------------------------------------------------+---------------------------------------+\n'
'| "and" | '
Expand Down Expand Up @@ -11988,9 +11987,13 @@
' >>> "they\'re bill\'s friends from the UK".title()\n'
' "They\'Re Bill\'S Friends From The Uk"\n'
'\n'
' A workaround for apostrophes can be constructed using '
'regular\n'
' expressions:\n'
' The "string.capwords()" function does not have this '
'problem, as it\n'
' splits words on spaces only.\n'
'\n'
' Alternatively, a workaround for apostrophes can be '
'constructed\n'
' using regular expressions:\n'
'\n'
' >>> import re\n'
' >>> def titlecase(s):\n'
Expand Down Expand Up @@ -12112,12 +12115,15 @@
'single quotes ("\'") or double quotes ("""). They can also be '
'enclosed\n'
'in matching groups of three single or double quotes (these are\n'
'generally referred to as *triple-quoted strings*). The '
'backslash\n'
'("\\") character is used to escape characters that otherwise have '
'a\n'
'special meaning, such as newline, backslash itself, or the quote\n'
'generally referred to as *triple-quoted strings*). The backslash '
'("\\")\n'
'character is used to give special meaning to otherwise ordinary\n'
'characters like "n", which means ‘newline’ when escaped ("\\n"). '
'It can\n'
'also be used to escape characters that otherwise have a special\n'
'meaning, such as newline, backslash itself, or the quote '
'character.\n'
'See escape sequences below for examples.\n'
'\n'
'Bytes literals are always prefixed with "\'b\'" or "\'B\'"; they '
'produce\n'
Expand Down Expand Up @@ -13735,14 +13741,6 @@
'unwise to use\n'
'them as dictionary keys.)\n'
'\n'
'Dictionaries can be created by placing a comma-separated '
'list of "key:\n'
'value" pairs within braces, for example: "{\'jack\': 4098, '
"'sjoerd':\n"
'4127}" or "{4098: \'jack\', 4127: \'sjoerd\'}", or by the '
'"dict"\n'
'constructor.\n'
'\n'
'class dict(**kwargs)\n'
'class dict(mapping, **kwargs)\n'
'class dict(iterable, **kwargs)\n'
Expand Down
Loading

0 comments on commit f377153

Please sign in to comment.