Skip to content

Commit

Permalink
Python 3.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal committed Feb 7, 2023
1 parent 955ba28 commit 878ead1
Show file tree
Hide file tree
Showing 70 changed files with 726 additions and 163 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 11
#define PY_MICRO_VERSION 1
#define PY_MICRO_VERSION 2
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0

/* Version as a string */
#define PY_VERSION "3.11.1+"
#define PY_VERSION "3.11.2"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
85 changes: 47 additions & 38 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 Tue Dec 6 19:05:00 2022
# Autogenerated by Sphinx on Tue Feb 7 13:37:35 2023
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
Expand Down Expand Up @@ -2382,12 +2382,10 @@
'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 i\n'
':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, '
'2]".\n'
'all by the loop. Hint: the built-in type "range()" represents\n'
'immutable arithmetic sequences of integers. For instance, '
'iterating\n'
'"range(3)" successively yields 0, 1, and then 2.\n'
'\n'
'Changed in version 3.11: Starred elements are now allowed in '
'the\n'
Expand Down Expand Up @@ -2726,7 +2724,7 @@
'the\n'
' target list, it will be treated the same as an error '
'occurring\n'
' within the suite would be. See step 6 below.\n'
' within the suite would be. See step 7 below.\n'
'\n'
'6. The suite is executed.\n'
'\n'
Expand Down Expand Up @@ -4649,6 +4647,18 @@
'the source. The extension interface uses the modules "bdb" and '
'"cmd".\n'
'\n'
'See also:\n'
'\n'
' Module "faulthandler"\n'
' Used to dump Python tracebacks explicitly, on a fault, '
'after a\n'
' timeout, or on a user signal.\n'
'\n'
' Module "traceback"\n'
' Standard interface to extract, format and print stack '
'traces of\n'
' Python programs.\n'
'\n'
'The debugger’s prompt is "(Pdb)". Typical usage to run a program '
'under\n'
'control of the debugger is:\n'
Expand Down Expand Up @@ -5668,7 +5678,8 @@
'be\n'
'determined by scanning the entire text of the block for name '
'binding\n'
'operations.\n'
'operations. See the FAQ entry on UnboundLocalError for '
'examples.\n'
'\n'
'If the "global" statement occurs within a block, all uses of '
'the names\n'
Expand Down Expand Up @@ -5970,10 +5981,9 @@
'\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 '
'i\n'
':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, 2]".\n'
'all by the loop. Hint: the built-in type "range()" represents\n'
'immutable arithmetic sequences of integers. For instance, iterating\n'
'"range(3)" successively yields 0, 1, and then 2.\n'
'\n'
'Changed in version 3.11: Starred elements are now allowed in the\n'
'expression list.\n',
Expand Down Expand Up @@ -7781,7 +7791,7 @@
'within a code block. The local variables of a code block can be\n'
'determined by scanning the entire text of the block for name '
'binding\n'
'operations.\n'
'operations. See the FAQ entry on UnboundLocalError for examples.\n'
'\n'
'If the "global" statement occurs within a block, all uses of the '
'names\n'
Expand Down Expand Up @@ -11322,35 +11332,35 @@
'\n'
"str.encode(encoding='utf-8', errors='strict')\n"
'\n'
' Return an encoded version of the string as a bytes '
'object. Default\n'
' encoding is "\'utf-8\'". *errors* may be given to set a '
'different\n'
' error handling scheme. The default for *errors* is '
'"\'strict\'",\n'
' meaning that encoding errors raise a "UnicodeError". '
' Return the string encoded to "bytes".\n'
'\n'
' *encoding* defaults to "\'utf-8\'"; see Standard '
'Encodings for\n'
' possible values.\n'
'\n'
' *errors* controls how encoding errors are handled. If '
'"\'strict\'"\n'
' (the default), a "UnicodeError" exception is raised. '
'Other possible\n'
' values are "\'ignore\'", "\'replace\'", '
'"\'xmlcharrefreplace\'",\n'
' "\'backslashreplace\'" and any other name registered '
'via\n'
' "codecs.register_error()", see section Error Handlers. '
'For a list\n'
' of possible encodings, see section Standard Encodings.\n'
' "codecs.register_error()". See Error Handlers for '
'details.\n'
'\n'
' By default, the *errors* argument is not checked for '
'best\n'
' performances, but only used at the first encoding '
'error. Enable the\n'
' Python Development Mode, or use a debug build to check '
'*errors*.\n'
' For performance reasons, the value of *errors* is not '
'checked for\n'
' validity unless an encoding error actually occurs, '
'Python\n'
' Development Mode is enabled or a debug build is used.\n'
'\n'
' Changed in version 3.1: Support for keyword arguments '
'added.\n'
' Changed in version 3.1: Added support for keyword '
'arguments.\n'
'\n'
' Changed in version 3.9: The *errors* is now checked in '
'development\n'
' mode and in debug mode.\n'
' Changed in version 3.9: The value of the *errors* '
'argument is now\n'
' checked in Python Development Mode and in debug mode.\n'
'\n'
'str.endswith(suffix[, start[, end]])\n'
'\n'
Expand Down Expand Up @@ -14437,8 +14447,7 @@
' >>> # get back a read-only proxy for the original '
'dictionary\n'
' >>> values.mapping\n'
" mappingproxy({'eggs': 2, 'sausage': 1, 'bacon': 1, "
"'spam': 500})\n"
" mappingproxy({'bacon': 1, 'spam': 500})\n"
" >>> values.mapping['spam']\n"
' 500\n',
'typesmethods': 'Methods\n'
Expand Down Expand Up @@ -15484,7 +15493,7 @@
' returns without an error, then "__exit__()" will always be\n'
' called. Thus, if an error occurs during the assignment to the\n'
' target list, it will be treated the same as an error occurring\n'
' within the suite would be. See step 6 below.\n'
' within the suite would be. See step 7 below.\n'
'\n'
'6. The suite is executed.\n'
'\n'
Expand Down
Loading

0 comments on commit 878ead1

Please sign in to comment.