|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| -# Autogenerated by Sphinx on Mon Sep 5 13:02:42 2022 |
| 2 | +# Autogenerated by Sphinx on Tue Oct 11 12:21:26 2022 |
3 | 3 | topics = {'assert': 'The "assert" statement\n'
|
4 | 4 | '**********************\n'
|
5 | 5 | '\n'
|
|
1674 | 1674 | 'If the syntax "**expression" appears in the function call,\n'
|
1675 | 1675 | '"expression" must evaluate to a *mapping*, the contents of which '
|
1676 | 1676 | 'are\n'
|
1677 |
| - 'treated as additional keyword arguments. If a keyword is already\n' |
1678 |
| - 'present (as an explicit keyword argument, or from another ' |
1679 |
| - 'unpacking),\n' |
1680 |
| - 'a "TypeError" exception is raised.\n' |
| 1677 | + 'treated as additional keyword arguments. If a parameter matching a ' |
| 1678 | + 'key\n' |
| 1679 | + 'has already been given a value (by an explicit keyword argument, ' |
| 1680 | + 'or\n' |
| 1681 | + 'from another unpacking), a "TypeError" exception is raised.\n' |
| 1682 | + '\n' |
| 1683 | + 'When "**expression" is used, each key in this mapping must be a\n' |
| 1684 | + 'string. Each value from the mapping is assigned to the first ' |
| 1685 | + 'formal\n' |
| 1686 | + 'parameter eligible for keyword assignment whose name is equal to ' |
| 1687 | + 'the\n' |
| 1688 | + 'key. A key need not be a Python identifier (e.g. ""max-temp °F"" ' |
| 1689 | + 'is\n' |
| 1690 | + 'acceptable, although it will not match any formal parameter that ' |
| 1691 | + 'could\n' |
| 1692 | + 'be declared). If there is no match to a formal parameter the ' |
| 1693 | + 'key-value\n' |
| 1694 | + 'pair is collected by the "**" parameter, if there is one, or if ' |
| 1695 | + 'there\n' |
| 1696 | + 'is not, a "TypeError" exception is raised.\n' |
1681 | 1697 | '\n'
|
1682 | 1698 | 'Formal parameters using the syntax "*identifier" or "**identifier"\n'
|
1683 | 1699 | 'cannot be used as positional argument slots or as keyword argument\n'
|
|
12768 | 12784 | ' points. All the code points in the range "U+0000 - '
|
12769 | 12785 | 'U+10FFFF"\n'
|
12770 | 12786 | ' can be represented in a string. Python doesn’t have a '
|
12771 |
| - '*char*\n' |
| 12787 | + 'char\n' |
12772 | 12788 | ' type; instead, every code point in the string is '
|
12773 | 12789 | 'represented\n'
|
12774 | 12790 | ' as a string object with length "1". The built-in '
|
|
0 commit comments