mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Python 3.9.2rc1
This commit is contained in:
		
							parent
							
								
									85fd9f4e45
								
							
						
					
					
						commit
						4064156d62
					
				
					 76 changed files with 828 additions and 233 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| # -*- coding: utf-8 -*- | ||||
| # Autogenerated by Sphinx on Mon Dec  7 15:00:07 2020 | ||||
| # Autogenerated by Sphinx on Tue Feb 16 21:03:59 2021 | ||||
| topics = {'assert': 'The "assert" statement\n' | ||||
|            '**********************\n' | ||||
|            '\n' | ||||
|  | @ -459,13 +459,12 @@ | |||
|           '\n' | ||||
|           '   async_for_stmt ::= "async" for_stmt\n' | ||||
|           '\n' | ||||
|           'An *asynchronous iterable* is able to call asynchronous code in ' | ||||
|           'its\n' | ||||
|           '*iter* implementation, and *asynchronous iterator* can call\n' | ||||
|           'asynchronous code in its *next* method.\n' | ||||
|           'An *asynchronous iterable* provides an "__aiter__" method that\n' | ||||
|           'directly returns an *asynchronous iterator*, which can call\n' | ||||
|           'asynchronous code in its "__anext__" method.\n' | ||||
|           '\n' | ||||
|           'The "async for" statement allows convenient iteration over\n' | ||||
|           'asynchronous iterators.\n' | ||||
|           'asynchronous iterables.\n' | ||||
|           '\n' | ||||
|           'The following code:\n' | ||||
|           '\n' | ||||
|  | @ -2381,8 +2380,9 @@ | |||
|              'compatible\n' | ||||
|              'with an exception if it is the class or a base class of the ' | ||||
|              'exception\n' | ||||
|              'object or a tuple containing an item compatible with the ' | ||||
|              'exception.\n' | ||||
|              'object, or a tuple containing an item that is the class or a ' | ||||
|              'base\n' | ||||
|              'class of the exception object.\n' | ||||
|              '\n' | ||||
|              'If no except clause matches the exception, the search for an ' | ||||
|              'exception\n' | ||||
|  | @ -2991,13 +2991,12 @@ | |||
|              '\n' | ||||
|              '   async_for_stmt ::= "async" for_stmt\n' | ||||
|              '\n' | ||||
|              'An *asynchronous iterable* is able to call asynchronous code in ' | ||||
|              'its\n' | ||||
|              '*iter* implementation, and *asynchronous iterator* can call\n' | ||||
|              'asynchronous code in its *next* method.\n' | ||||
|              'An *asynchronous iterable* provides an "__aiter__" method that\n' | ||||
|              'directly returns an *asynchronous iterator*, which can call\n' | ||||
|              'asynchronous code in its "__anext__" method.\n' | ||||
|              '\n' | ||||
|              'The "async for" statement allows convenient iteration over\n' | ||||
|              'asynchronous iterators.\n' | ||||
|              'asynchronous iterables.\n' | ||||
|              '\n' | ||||
|              'The following code:\n' | ||||
|              '\n' | ||||
|  | @ -5530,44 +5529,51 @@ | |||
|                   '   |           | formats the result in either fixed-point ' | ||||
|                   'format or in      |\n' | ||||
|                   '   |           | scientific notation, depending on its ' | ||||
|                   'magnitude.  The      |\n' | ||||
|                   '   |           | precise rules are as follows: suppose that ' | ||||
|                   'the result      |\n' | ||||
|                   'magnitude. A         |\n' | ||||
|                   '   |           | precision of "0" is treated as equivalent ' | ||||
|                   'to a precision   |\n' | ||||
|                   '   |           | of "1".  The precise rules are as follows: ' | ||||
|                   'suppose that    |\n' | ||||
|                   '   |           | the result formatted with presentation ' | ||||
|                   'type "\'e\'" and      |\n' | ||||
|                   '   |           | precision "p-1" would have exponent ' | ||||
|                   '"exp".  Then, if "m <= |\n' | ||||
|                   '   |           | exp < p", where "m" is -4 for floats and ' | ||||
|                   '-6 for            |\n' | ||||
|                   '   |           | "Decimals", the number is formatted with ' | ||||
|                   'presentation type |\n' | ||||
|                   '   |           | "\'f\'" and precision "p-1-exp".  ' | ||||
|                   'Otherwise, the number is   |\n' | ||||
|                   '   |           | formatted with presentation type "\'e\'" ' | ||||
|                   'and precision "p-1" |\n' | ||||
|                   '   |           | would have exponent "exp".  Then, if "m <= ' | ||||
|                   'exp < p", where |\n' | ||||
|                   '   |           | "m" is -4 for floats and -6 for ' | ||||
|                   '"Decimals", the number is  |\n' | ||||
|                   '   |           | formatted with presentation type "\'f\'" ' | ||||
|                   'and precision       |\n' | ||||
|                   '   |           | "p-1-exp".  Otherwise, the number is ' | ||||
|                   'formatted with        |\n' | ||||
|                   '   |           | presentation type "\'e\'" and precision ' | ||||
|                   '"p-1". In both cases |\n' | ||||
|                   '   |           | insignificant trailing zeros are removed ' | ||||
|                   'from the          |\n' | ||||
|                   '   |           | significand, and the decimal point is also ' | ||||
|                   'removed if      |\n' | ||||
|                   '   |           | there are no remaining digits following ' | ||||
|                   'it, unless the     |\n' | ||||
|                   '   |           | "\'#\'" option is used.  Positive and ' | ||||
|                   'negative infinity,     |\n' | ||||
|                   '   |           | positive and negative zero, and nans, are ' | ||||
|                   'formatted as     |\n' | ||||
|                   '   |           | "inf", "-inf", "0", "-0" and "nan" ' | ||||
|                   'respectively,           |\n' | ||||
|                   '   |           | regardless of the precision.  A precision ' | ||||
|                   'of "0" is        |\n' | ||||
|                   '   |           | treated as equivalent to a precision of ' | ||||
|                   '"1". With no       |\n' | ||||
|                   '   |           | precision given, uses a precision of "6" ' | ||||
|                   'significant       |\n' | ||||
|                   '   |           | digits for "float", and shows all ' | ||||
|                   'coefficient digits for   |\n' | ||||
|                   '   |           | ' | ||||
|                   '"Decimal".                                                 ' | ||||
|                   '|\n' | ||||
|                   '   |           | "p-1". In both cases insignificant ' | ||||
|                   'trailing zeros are      |\n' | ||||
|                   '   |           | removed from the significand, and the ' | ||||
|                   'decimal point is     |\n' | ||||
|                   '   |           | also removed if there are no remaining ' | ||||
|                   'digits following    |\n' | ||||
|                   '   |           | it, unless the "\'#\'" option is used.  ' | ||||
|                   'With no precision    |\n' | ||||
|                   '   |           | given, uses a precision of "6" significant ' | ||||
|                   'digits for      |\n' | ||||
|                   '   |           | "float". For "Decimal", the coefficient of ' | ||||
|                   'the result is   |\n' | ||||
|                   '   |           | formed from the coefficient digits of the ' | ||||
|                   'value;           |\n' | ||||
|                   '   |           | scientific notation is used for values ' | ||||
|                   'smaller than "1e-6" |\n' | ||||
|                   '   |           | in absolute value and values where the ' | ||||
|                   'place value of the  |\n' | ||||
|                   '   |           | least significant digit is larger than 1, ' | ||||
|                   'and fixed-point  |\n' | ||||
|                   '   |           | notation is used otherwise.  Positive and ' | ||||
|                   'negative         |\n' | ||||
|                   '   |           | infinity, positive and negative zero, and ' | ||||
|                   'nans, are        |\n' | ||||
|                   '   |           | formatted as "inf", "-inf", "0", "-0" and ' | ||||
|                   '"nan"            |\n' | ||||
|                   '   |           | respectively, regardless of the ' | ||||
|                   'precision.                 |\n' | ||||
|                   '   ' | ||||
|                   '+-----------+------------------------------------------------------------+\n' | ||||
|                   '   | "\'G\'"     | General format. Same as "\'g\'" except ' | ||||
|  | @ -5592,19 +5598,24 @@ | |||
|                   'percent sign.          |\n' | ||||
|                   '   ' | ||||
|                   '+-----------+------------------------------------------------------------+\n' | ||||
|                   '   | None      | Similar to "\'g\'", except that ' | ||||
|                   'fixed-point notation, when   |\n' | ||||
|                   '   |           | used, has at least one digit past the ' | ||||
|                   'decimal point. The   |\n' | ||||
|                   '   |           | default precision is as high as needed to ' | ||||
|                   'represent the    |\n' | ||||
|                   '   |           | particular value. The overall effect is to ' | ||||
|                   'match the       |\n' | ||||
|                   '   |           | output of "str()" as altered by the other ' | ||||
|                   'format           |\n' | ||||
|                   '   |           | ' | ||||
|                   'modifiers.                                                 ' | ||||
|                   '|\n' | ||||
|                   '   | None      | For "float" this is the same as "\'g\'", ' | ||||
|                   'except that when    |\n' | ||||
|                   '   |           | fixed-point notation is used to format the ' | ||||
|                   'result, it      |\n' | ||||
|                   '   |           | always includes at least one digit past ' | ||||
|                   'the decimal point. |\n' | ||||
|                   '   |           | The precision used is as large as needed ' | ||||
|                   'to represent the  |\n' | ||||
|                   '   |           | given value faithfully.  For "Decimal", ' | ||||
|                   'this is the same   |\n' | ||||
|                   '   |           | as either "\'g\'" or "\'G\'" depending on ' | ||||
|                   'the value of         |\n' | ||||
|                   '   |           | "context.capitals" for the current decimal ' | ||||
|                   'context.  The   |\n' | ||||
|                   '   |           | overall effect is to match the output of ' | ||||
|                   '"str()" as        |\n' | ||||
|                   '   |           | altered by the other format ' | ||||
|                   'modifiers.                     |\n' | ||||
|                   '   ' | ||||
|                   '+-----------+------------------------------------------------------------+\n' | ||||
|                   '\n' | ||||
|  | @ -7950,7 +7961,7 @@ | |||
|                  'immediate\n' | ||||
|                  '   subclasses.  This method returns a list of all those ' | ||||
|                  'references\n' | ||||
|                  '   still alive. Example:\n' | ||||
|                  '   still alive.  The list is in definition order.  Example:\n' | ||||
|                  '\n' | ||||
|                  '      >>> int.__subclasses__()\n' | ||||
|                  "      [<class 'bool'>]\n" | ||||
|  | @ -11259,7 +11270,8 @@ | |||
|         'object is “compatible” with the exception.  An object is compatible\n' | ||||
|         'with an exception if it is the class or a base class of the ' | ||||
|         'exception\n' | ||||
|         'object or a tuple containing an item compatible with the exception.\n' | ||||
|         'object, or a tuple containing an item that is the class or a base\n' | ||||
|         'class of the exception object.\n' | ||||
|         '\n' | ||||
|         'If no except clause matches the exception, the search for an ' | ||||
|         'exception\n' | ||||
|  | @ -11480,7 +11492,6 @@ | |||
|           '      There are two types of integers:\n' | ||||
|           '\n' | ||||
|           '      Integers ("int")\n' | ||||
|           '\n' | ||||
|           '         These represent numbers in an unlimited range, subject to\n' | ||||
|           '         available (virtual) memory only.  For the purpose of ' | ||||
|           'shift\n' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Łukasz Langa
						Łukasz Langa