mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	merge 3.2 (#9574)
This commit is contained in:
		
						commit
						c7ceb2bc95
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -243,6 +243,13 @@ are always available.  They are listed here in alphabetical order.
 | 
			
		|||
   the function serves as a numeric conversion function like :func:`int`
 | 
			
		||||
   and :func:`float`.  If both arguments are omitted, returns ``0j``.
 | 
			
		||||
 | 
			
		||||
   .. note::
 | 
			
		||||
 | 
			
		||||
      When converting from a string, the string must not contain whitespace
 | 
			
		||||
      around the central ``+`` or ``-`` operator.  For example,
 | 
			
		||||
      ``complex('1+2j')`` is fine, but ``complex('1 + 2j')`` raises
 | 
			
		||||
      :exc:`ValueError`.
 | 
			
		||||
 | 
			
		||||
   The complex type is described in :ref:`typesnumeric`.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue