mirror of
https://github.com/python/cpython.git
synced 2025-08-28 04:35:02 +00:00
Python 3.14.0a3
This commit is contained in:
parent
b9a492b809
commit
401bfc69d1
120 changed files with 1200 additions and 279 deletions
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Tue Nov 19 16:52:22 2024
|
||||
# Autogenerated by Sphinx on Tue Dec 17 11:49:52 2024
|
||||
# as part of the release process.
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
|
@ -1312,15 +1312,19 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'The arguments must either both be numbers, or one argument must be '
|
||||
'an\n'
|
||||
'integer and the other must be a sequence. In the former case, the\n'
|
||||
'numbers are converted to a common type and then multiplied '
|
||||
'together.\n'
|
||||
'In the latter case, sequence repetition is performed; a negative\n'
|
||||
'repetition factor yields an empty sequence.\n'
|
||||
'numbers are converted to a common real type and then multiplied\n'
|
||||
'together. In the latter case, sequence repetition is performed; '
|
||||
'a\n'
|
||||
'negative repetition factor yields an empty sequence.\n'
|
||||
'\n'
|
||||
'This operation can be customized using the special "__mul__()" '
|
||||
'and\n'
|
||||
'"__rmul__()" methods.\n'
|
||||
'\n'
|
||||
'Changed in version 3.14: If only one operand is a complex number, '
|
||||
'the\n'
|
||||
'other operand is converted to a floating-point number.\n'
|
||||
'\n'
|
||||
'The "@" (at) operator is intended to be used for matrix\n'
|
||||
'multiplication. No builtin Python types implement this operator.\n'
|
||||
'\n'
|
||||
|
@ -1391,21 +1395,30 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'arguments must either both be numbers or both be sequences of the '
|
||||
'same\n'
|
||||
'type. In the former case, the numbers are converted to a common '
|
||||
'type\n'
|
||||
'and then added together. In the latter case, the sequences are\n'
|
||||
'real\n'
|
||||
'type and then added together. In the latter case, the sequences '
|
||||
'are\n'
|
||||
'concatenated.\n'
|
||||
'\n'
|
||||
'This operation can be customized using the special "__add__()" '
|
||||
'and\n'
|
||||
'"__radd__()" methods.\n'
|
||||
'\n'
|
||||
'Changed in version 3.14: If only one operand is a complex number, '
|
||||
'the\n'
|
||||
'other operand is converted to a floating-point number.\n'
|
||||
'\n'
|
||||
'The "-" (subtraction) operator yields the difference of its '
|
||||
'arguments.\n'
|
||||
'The numeric arguments are first converted to a common type.\n'
|
||||
'The numeric arguments are first converted to a common real type.\n'
|
||||
'\n'
|
||||
'This operation can be customized using the special "__sub__()" '
|
||||
'and\n'
|
||||
'"__rsub__()" methods.\n',
|
||||
'"__rsub__()" methods.\n'
|
||||
'\n'
|
||||
'Changed in version 3.14: If only one operand is a complex number, '
|
||||
'the\n'
|
||||
'other operand is converted to a floating-point number.\n',
|
||||
'bitwise': 'Binary bitwise operations\n'
|
||||
'*************************\n'
|
||||
'\n'
|
||||
|
@ -4561,18 +4574,18 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'\n'
|
||||
'When a description of an arithmetic operator below uses the '
|
||||
'phrase\n'
|
||||
'“the numeric arguments are converted to a common type”, this '
|
||||
'means\n'
|
||||
'that the operator implementation for built-in types works as '
|
||||
'“the numeric arguments are converted to a common real type”, '
|
||||
'this\n'
|
||||
'means that the operator implementation for built-in types '
|
||||
'works as\n'
|
||||
'follows:\n'
|
||||
'\n'
|
||||
'* If either argument is a complex number, the other is '
|
||||
'converted to\n'
|
||||
' complex;\n'
|
||||
'* If both arguments are complex numbers, no conversion is '
|
||||
'performed;\n'
|
||||
'\n'
|
||||
'* otherwise, if either argument is a floating-point number, '
|
||||
'the other\n'
|
||||
' is converted to floating point;\n'
|
||||
'* if either argument is a complex or a floating-point number, '
|
||||
'the\n'
|
||||
' other is converted to a floating-point number;\n'
|
||||
'\n'
|
||||
'* otherwise, both must be integers and no conversion is '
|
||||
'necessary.\n'
|
||||
|
@ -7144,8 +7157,12 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'trailing zeros are not removed from the result.\n'
|
||||
'\n'
|
||||
'The "\',\'" option signals the use of a comma for a '
|
||||
'thousands separator.\n'
|
||||
'For a locale aware separator, use the "\'n\'" integer '
|
||||
'thousands separator\n'
|
||||
'for floating-point presentation types and for integer '
|
||||
'presentation\n'
|
||||
'type "\'d\'". For other presentation types, this option is '
|
||||
'an error. For\n'
|
||||
'a locale aware separator, use the "\'n\'" integer '
|
||||
'presentation type\n'
|
||||
'instead.\n'
|
||||
'\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue