8000 Python 3.9.13 · varunsh-coder/cpython@6de2ca5 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6de2ca5

Browse files
committed
Python 3.9.13
1 parent f82b324 commit 6de2ca5

File tree

56 files changed

+576
-152
lines changed

Some content is hidden

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

56 files changed

+576
-152
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 9
21-
#define PY_MICRO_VERSION 12
21+
#define PY_MICRO_VERSION 13
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.9.12+"
26+
#define PY_VERSION "3.9.13"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Wed Mar 23 22:08:02 2022
2+
# Autogenerated by Sphinx on Tue May 17 12:57:36 2022
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -93,11 +93,7 @@
9393
' optionally in parentheses, the object is assigned to that '
9494
'target.\n'
9595
'\n'
96-
'* Else: The object must be an iterable with the same number of '
97-
'items\n'
98-
' as there are targets in the target list, and the items are '
99-
'assigned,\n'
100-
' from left to right, to the corresponding targets.\n'
96+
'* Else:\n'
10197
'\n'
10298
' * If the target list contains one target prefixed with an '
10399
'asterisk,\n'
@@ -3980,7 +3976,10 @@
39803976
'is\n'
39813977
'applied to separating the commands; the input is split at the '
39823978
'first\n'
3983-
'";;" pair, even if it is in the middle of a quoted string.\n'
3979+
'";;" pair, even if it is in the middle of a quoted string. A\n'
3980+
'workaround for strings with double semicolons is to use '
3981+
'implicit\n'
3982+
'string concatenation "\';\'\';\'" or "";"";"".\n'
39843983
'\n'
39853984
'If a file ".pdbrc" exists in the user’s home directory or in '
39863985
'the\n'
@@ -6402,12 +6401,12 @@
64026401
'Examples:\n'
64036402
'\n'
64046403
' import foo # foo imported and bound locally\n'
6405-
' import foo.bar.baz # foo.bar.baz imported, foo bound '
6406-
'locally\n'
6407-
' import foo.bar.baz as fbb # foo.bar.baz imported and bound as '
6408-
'fbb\n'
6409-
' from foo.bar import baz # foo.bar.baz imported and bound as '
6410-
'baz\n'
6404+
' import foo.bar.baz # foo, foo.bar, and foo.bar.baz '
6405+
'imported, foo bound locally\n'
6406+
' import foo.bar.baz as fbb # foo, foo.bar, and foo.bar.baz '
6407+
'imported, foo.bar.baz bound as fbb\n'
6408+
' from foo.bar import baz # foo, foo.bar, and foo.bar.baz '
6409+
'imported, foo.bar.baz bound as baz\n'
64116410
' from foo import attr # foo imported and foo.attr bound as '
64126411
'attr\n'
64136412
'\n'
@@ -11091,9 +11090,13 @@
1109111090
' >>> "they\'re bill\'s friends from the UK".title()\n'
1109211091
' "They\'Re Bill\'S Friends From The Uk"\n'
1109311092
'\n'
11094-
' A workaround for apostrophes can be constructed using '
11095-
'regular\n'
11096-
' expressions:\n'
11093+
' The "string.capwords()" function does not have this '
11094+
'problem, as it\n'
11095+
' splits words on spaces only.\n'
11096+
'\n'
11097+
' Alternatively, a workaround for apostrophes can be '
11098+
'constructed\n'
11099+
' using regular expressions:\n'
1109711100
'\n'
1109811101
' >>> import re\n'
1109911102
' >>> def titlecase(s):\n'
@@ -11215,12 +11218,15 @@
1121511218
'single quotes ("\'") or double quotes ("""). They can also be '
1121611219
'enclosed\n'
1121711220
'in matching groups of three single or double quotes (these are\n'
11218-
'generally referred to as *triple-quoted strings*). The '
11219-
'backslash\n'
11220-
'("\\") character is used to escape characters that otherwise have '
11221-
'a\n'
11222-
'special meaning, such as newline, backslash itself, or the quote\n'
11221+
'generally referred to as *triple-quoted strings*). The backslash '
11222+
'("\\")\n'
11223+
'character is used to give special meaning to otherwise ordinary\n'
11224+
'characters like "n", which means ‘newline’ when escaped ("\\n"). '
11225+
'It can\n'
11226+
'also be used to escape characters that otherwise have a special\n'
11227+
'meaning, such as newline, backslash itself, or the quote '
1122311228
'character.\n'
11229+
'See escape sequences below for examples.\n'
1122411230
'\n'
1122511231
'Bytes literals are always prefixed with "\'b\'" or "\'B\'"; they '
1122611232
'produce\n'
@@ -12788,14 +12794,6 @@
1278812794
'unwise to use\n'
1278912795
'them as dictionary keys.)\n'
1279012796
'\n'
12791-
'Dictionaries can be created by placing a comma-separated '
12792-
'list of "key:\n'
12793-
'value" pairs within braces, for example: "{\'jack\': 4098, '
12794-
"'sjoerd':\n"
12795-
'4127}" or "{4098: \'jack\', 4127: \'sjoerd\'}", or by the '
12796-
'"dict"\n'
12797-
'constructor.\n'
12798-
'\n'
1279912797
'class dict(**kwargs)\n'
1280012798
'class dict(mapping, **kwargs)\n'
1280112799
'class dict(iterable, **kwargs)\n'

0 commit comments

Comments
 (0)
0