mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +00:00
3.7.0b3
This commit is contained in:
parent
7a6f59e123
commit
4e7efa9c6f
58 changed files with 589 additions and 129 deletions
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Tue Feb 27 19:39:14 2018
|
||||
# Autogenerated by Sphinx on Thu Mar 29 07:53:04 2018
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
'\n'
|
||||
|
@ -6665,13 +6665,11 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'object.__complex__(self)\n'
|
||||
'object.__int__(self)\n'
|
||||
'object.__float__(self)\n'
|
||||
'object.__round__(self[, n])\n'
|
||||
'\n'
|
||||
' Called to implement the built-in functions "complex()", '
|
||||
'"int()",\n'
|
||||
' "float()" and "round()". Should return a value of the '
|
||||
'appropriate\n'
|
||||
' type.\n'
|
||||
'"int()" and\n'
|
||||
' "float()". Should return a value of the appropriate '
|
||||
'type.\n'
|
||||
'\n'
|
||||
'object.__index__(self)\n'
|
||||
'\n'
|
||||
|
@ -6689,7 +6687,25 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'when\n'
|
||||
' "__index__()" is defined "__int__()" should also be '
|
||||
'defined, and\n'
|
||||
' both should return the same value.\n',
|
||||
' both should return the same value.\n'
|
||||
'\n'
|
||||
'object.__round__(self[, ndigits])\n'
|
||||
'object.__trunc__(self)\n'
|
||||
'object.__floor__(self)\n'
|
||||
'object.__ceil__(self)\n'
|
||||
'\n'
|
||||
' Called to implement the built-in function "round()" and '
|
||||
'"math"\n'
|
||||
' functions "trunc()", "floor()" and "ceil()". Unless '
|
||||
'*ndigits* is\n'
|
||||
' passed to "__round__()" all these methods should return '
|
||||
'the value\n'
|
||||
' of the object truncated to an "Integral" (typically an '
|
||||
'"int").\n'
|
||||
'\n'
|
||||
' If "__int__()" is not defined then the built-in function '
|
||||
'"int()"\n'
|
||||
' falls back to "__trunc__()".\n',
|
||||
'objects': 'Objects, values and types\n'
|
||||
'*************************\n'
|
||||
'\n'
|
||||
|
@ -9261,13 +9277,11 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'object.__complex__(self)\n'
|
||||
'object.__int__(self)\n'
|
||||
'object.__float__(self)\n'
|
||||
'object.__round__(self[, n])\n'
|
||||
'\n'
|
||||
' Called to implement the built-in functions "complex()", '
|
||||
'"int()",\n'
|
||||
' "float()" and "round()". Should return a value of the '
|
||||
'appropriate\n'
|
||||
' type.\n'
|
||||
'"int()" and\n'
|
||||
' "float()". Should return a value of the appropriate '
|
||||
'type.\n'
|
||||
'\n'
|
||||
'object.__index__(self)\n'
|
||||
'\n'
|
||||
|
@ -9287,6 +9301,24 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'defined, and\n'
|
||||
' both should return the same value.\n'
|
||||
'\n'
|
||||
'object.__round__(self[, ndigits])\n'
|
||||
'object.__trunc__(self)\n'
|
||||
'object.__floor__(self)\n'
|
||||
'object.__ceil__(self)\n'
|
||||
'\n'
|
||||
' Called to implement the built-in function "round()" and '
|
||||
'"math"\n'
|
||||
' functions "trunc()", "floor()" and "ceil()". Unless '
|
||||
'*ndigits* is\n'
|
||||
' passed to "__round__()" all these methods should return '
|
||||
'the value\n'
|
||||
' of the object truncated to an "Integral" (typically an '
|
||||
'"int").\n'
|
||||
'\n'
|
||||
' If "__int__()" is not defined then the built-in function '
|
||||
'"int()"\n'
|
||||
' falls back to "__trunc__()".\n'
|
||||
'\n'
|
||||
'\n'
|
||||
'With Statement Context Managers\n'
|
||||
'===============================\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue