mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Python 3.10.0a7
This commit is contained in:
parent
57f21db3f6
commit
53e55290cf
92 changed files with 8349 additions and 5352 deletions
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Mon Mar 1 16:48:51 2021
|
||||
# Autogenerated by Sphinx on Mon Apr 5 17:39:41 2021
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
'\n'
|
||||
|
@ -5782,9 +5782,11 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'"Formatter",\n'
|
||||
'subclasses can define their own format string syntax). The '
|
||||
'syntax is\n'
|
||||
'related to that of formatted string literals, but there '
|
||||
'are\n'
|
||||
'differences.\n'
|
||||
'related to that of formatted string literals, but it is '
|
||||
'less\n'
|
||||
'sophisticated and, in particular, does not support '
|
||||
'arbitrary\n'
|
||||
'expressions.\n'
|
||||
'\n'
|
||||
'Format strings contain “replacement fields” surrounded by '
|
||||
'curly braces\n'
|
||||
|
@ -5978,7 +5980,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'character that can be any character and defaults to a space '
|
||||
'if\n'
|
||||
'omitted. It is not possible to use a literal curly brace '
|
||||
'(“"{"” or\n'
|
||||
'(”"{"” or\n'
|
||||
'“"}"”) as the *fill* character in a formatted string '
|
||||
'literal or when\n'
|
||||
'using the "str.format()" method. However, it is possible '
|
||||
|
@ -7676,7 +7678,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'\n'
|
||||
'Note that numeric literals do not include a sign; a phrase like '
|
||||
'"-1"\n'
|
||||
'is actually an expression composed of the unary operator ‘"-"‘ '
|
||||
'is actually an expression composed of the unary operator ‘"-"’ '
|
||||
'and the\n'
|
||||
'literal "1".\n',
|
||||
'numeric-types': 'Emulating numeric types\n'
|
||||
|
@ -13956,9 +13958,9 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'| "s + t" | the concatenation of *s* and *t* '
|
||||
'| (6)(7) |\n'
|
||||
'+----------------------------+----------------------------------+------------+\n'
|
||||
'| "s * n" or "n * s" | equivalent to *n* copies of the '
|
||||
'| "s * n" or "n * s" | equivalent to adding *s* to '
|
||||
'| (2)(7) |\n'
|
||||
'| | *s* sequence '
|
||||
'| | itself *n* times '
|
||||
'| |\n'
|
||||
'+----------------------------+----------------------------------+------------+\n'
|
||||
'| "s[i]" | *i*th item of *s*, origin 0 '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue