mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Python 3.10.8
This commit is contained in:
parent
428bd028b3
commit
aaaf517424
50 changed files with 499 additions and 102 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Mon Sep 5 13:02:42 2022
|
||||
# Autogenerated by Sphinx on Tue Oct 11 12:21:26 2022
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
'\n'
|
||||
|
|
@ -1674,10 +1674,26 @@
|
|||
'If the syntax "**expression" appears in the function call,\n'
|
||||
'"expression" must evaluate to a *mapping*, the contents of which '
|
||||
'are\n'
|
||||
'treated as additional keyword arguments. If a keyword is already\n'
|
||||
'present (as an explicit keyword argument, or from another '
|
||||
'unpacking),\n'
|
||||
'a "TypeError" exception is raised.\n'
|
||||
'treated as additional keyword arguments. If a parameter matching a '
|
||||
'key\n'
|
||||
'has already been given a value (by an explicit keyword argument, '
|
||||
'or\n'
|
||||
'from another unpacking), a "TypeError" exception is raised.\n'
|
||||
'\n'
|
||||
'When "**expression" is used, each key in this mapping must be a\n'
|
||||
'string. Each value from the mapping is assigned to the first '
|
||||
'formal\n'
|
||||
'parameter eligible for keyword assignment whose name is equal to '
|
||||
'the\n'
|
||||
'key. A key need not be a Python identifier (e.g. ""max-temp °F"" '
|
||||
'is\n'
|
||||
'acceptable, although it will not match any formal parameter that '
|
||||
'could\n'
|
||||
'be declared). If there is no match to a formal parameter the '
|
||||
'key-value\n'
|
||||
'pair is collected by the "**" parameter, if there is one, or if '
|
||||
'there\n'
|
||||
'is not, a "TypeError" exception is raised.\n'
|
||||
'\n'
|
||||
'Formal parameters using the syntax "*identifier" or "**identifier"\n'
|
||||
'cannot be used as positional argument slots or as keyword argument\n'
|
||||
|
|
@ -12768,7 +12784,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 '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue