mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Python 3.9.1
This commit is contained in:
		
							parent
							
								
									facca72eae
								
							
						
					
					
						commit
						1e5d33e9b9
					
				
					 18 changed files with 221 additions and 80 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| # -*- coding: utf-8 -*- | ||||
| # Autogenerated by Sphinx on Tue Nov 24 17:42:56 2020 | ||||
| # Autogenerated by Sphinx on Mon Dec  7 15:00:07 2020 | ||||
| topics = {'assert': 'The "assert" statement\n' | ||||
|            '**********************\n' | ||||
|            '\n' | ||||
|  | @ -5307,24 +5307,23 @@ | |||
|                   'for the\n' | ||||
|                   'conversion.  The alternate form is defined differently for ' | ||||
|                   'different\n' | ||||
|                   'types.  This option is only valid for integer, float, ' | ||||
|                   'complex and\n' | ||||
|                   'Decimal types. For integers, when binary, octal, or ' | ||||
|                   'hexadecimal output\n' | ||||
|                   'is used, this option adds the prefix respective "\'0b\'", ' | ||||
|                   '"\'0o\'", or\n' | ||||
|                   '"\'0x\'" to the output value. For floats, complex and ' | ||||
|                   'Decimal the\n' | ||||
|                   'alternate form causes the result of the conversion to ' | ||||
|                   'always contain a\n' | ||||
|                   'decimal-point character, even if no digits follow it. ' | ||||
|                   'Normally, a\n' | ||||
|                   'decimal-point character appears in the result of these ' | ||||
|                   'conversions\n' | ||||
|                   'only if a digit follows it. In addition, for "\'g\'" and ' | ||||
|                   '"\'G\'"\n' | ||||
|                   'conversions, trailing zeros are not removed from the ' | ||||
|                   'result.\n' | ||||
|                   'types.  This option is only valid for integer, float and ' | ||||
|                   'complex\n' | ||||
|                   'types. For integers, when binary, octal, or hexadecimal ' | ||||
|                   'output is\n' | ||||
|                   'used, this option adds the prefix respective "\'0b\'", ' | ||||
|                   '"\'0o\'", or "\'0x\'"\n' | ||||
|                   'to the output value. For float and complex the alternate ' | ||||
|                   'form causes\n' | ||||
|                   'the result of the conversion to always contain a ' | ||||
|                   'decimal-point\n' | ||||
|                   'character, even if no digits follow it. Normally, a ' | ||||
|                   'decimal-point\n' | ||||
|                   'character appears in the result of these conversions only ' | ||||
|                   'if a digit\n' | ||||
|                   'follows it. In addition, for "\'g\'" and "\'G\'" ' | ||||
|                   'conversions, trailing\n' | ||||
|                   'zeros are not removed from the result.\n' | ||||
|                   '\n' | ||||
|                   'The "\',\'" option signals the use of a comma for a ' | ||||
|                   'thousands separator.\n' | ||||
|  | @ -5462,9 +5461,8 @@ | |||
|                   'the integer\n' | ||||
|                   'to a floating point number before formatting.\n' | ||||
|                   '\n' | ||||
|                   'The available presentation types for floating point and ' | ||||
|                   'decimal values\n' | ||||
|                   'are:\n' | ||||
|                   'The available presentation types for "float" and "Decimal" ' | ||||
|                   'values are:\n' | ||||
|                   '\n' | ||||
|                   '   ' | ||||
|                   '+-----------+------------------------------------------------------------+\n' | ||||
|  | @ -5473,24 +5471,50 @@ | |||
|                   '|\n' | ||||
|                   '   ' | ||||
|                   '|===========|============================================================|\n' | ||||
|                   '   | "\'e\'"     | Exponent notation. Prints the number in ' | ||||
|                   'scientific         |\n' | ||||
|                   '   |           | notation using the letter ‘e’ to indicate ' | ||||
|                   'the exponent.    |\n' | ||||
|                   '   |           | The default precision is ' | ||||
|                   '"6".                              |\n' | ||||
|                   '   | "\'e\'"     | Scientific notation. For a given ' | ||||
|                   'precision "p", formats    |\n' | ||||
|                   '   |           | the number in scientific notation with the ' | ||||
|                   'letter ‘e’      |\n' | ||||
|                   '   |           | separating the coefficient from the ' | ||||
|                   'exponent. The          |\n' | ||||
|                   '   |           | coefficient has one digit before and "p" ' | ||||
|                   'digits after the  |\n' | ||||
|                   '   |           | decimal point, for a total of "p + 1" ' | ||||
|                   'significant digits.  |\n' | ||||
|                   '   |           | With no precision given, uses a precision ' | ||||
|                   'of "6" digits    |\n' | ||||
|                   '   |           | after the decimal point for "float", and ' | ||||
|                   'shows all         |\n' | ||||
|                   '   |           | coefficient digits for "Decimal". If no ' | ||||
|                   'digits follow the  |\n' | ||||
|                   '   |           | decimal point, the decimal point is also ' | ||||
|                   'removed unless    |\n' | ||||
|                   '   |           | the "#" option is ' | ||||
|                   'used.                                    |\n' | ||||
|                   '   ' | ||||
|                   '+-----------+------------------------------------------------------------+\n' | ||||
|                   '   | "\'E\'"     | Exponent notation. Same as "\'e\'" ' | ||||
|                   'except it uses an upper   |\n' | ||||
|                   '   | "\'E\'"     | Scientific notation. Same as "\'e\'" ' | ||||
|                   'except it uses an upper |\n' | ||||
|                   '   |           | case ‘E’ as the separator ' | ||||
|                   'character.                       |\n' | ||||
|                   '   ' | ||||
|                   '+-----------+------------------------------------------------------------+\n' | ||||
|                   '   | "\'f\'"     | Fixed-point notation. Displays the ' | ||||
|                   'number as a fixed-point |\n' | ||||
|                   '   |           | number. The default precision is ' | ||||
|                   '"6".                      |\n' | ||||
|                   '   | "\'f\'"     | Fixed-point notation. For a given ' | ||||
|                   'precision "p", formats   |\n' | ||||
|                   '   |           | the number as a decimal number with ' | ||||
|                   'exactly "p" digits     |\n' | ||||
|                   '   |           | following the decimal point. With no ' | ||||
|                   'precision given, uses |\n' | ||||
|                   '   |           | a precision of "6" digits after the ' | ||||
|                   'decimal point for      |\n' | ||||
|                   '   |           | "float", and uses a precision large enough ' | ||||
|                   'to show all     |\n' | ||||
|                   '   |           | coefficient digits for "Decimal". If no ' | ||||
|                   'digits follow the  |\n' | ||||
|                   '   |           | decimal point, the decimal point is also ' | ||||
|                   'removed unless    |\n' | ||||
|                   '   |           | the "#" option is ' | ||||
|                   'used.                                    |\n' | ||||
|                   '   ' | ||||
|                   '+-----------+------------------------------------------------------------+\n' | ||||
|                   '   | "\'F\'"     | Fixed-point notation. Same as "\'f\'", ' | ||||
|  | @ -5536,9 +5560,14 @@ | |||
|                   '   |           | regardless of the precision.  A precision ' | ||||
|                   'of "0" is        |\n' | ||||
|                   '   |           | treated as equivalent to a precision of ' | ||||
|                   '"1". The default   |\n' | ||||
|                   '   |           | precision is ' | ||||
|                   '"6".                                          |\n' | ||||
|                   '"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' | ||||
|                   '   ' | ||||
|                   '+-----------+------------------------------------------------------------+\n' | ||||
|                   '   | "\'G\'"     | General format. Same as "\'g\'" except ' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Łukasz Langa
						Łukasz Langa