mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Fix typos.
This commit is contained in:
		
							parent
							
								
									c86c9de7d4
								
							
						
					
					
						commit
						fb4d0e0cea
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -1,12 +1,12 @@
 | 
				
			||||||
r"""Utilities to compile possibly incomplete Python source code.
 | 
					r"""Utilities to compile possibly incomplete Python source code.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This module provides two interfaces, broadly similar to the builtin
 | 
					This module provides two interfaces, broadly similar to the builtin
 | 
				
			||||||
function compile(), that take progam text, a filename and a 'mode'
 | 
					function compile(), that takes program text, a filename and a 'mode'
 | 
				
			||||||
and:
 | 
					and:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Return a code object if the command is complete and valid
 | 
					- Returns code object if the command is complete and valid
 | 
				
			||||||
- Return None if the command is incomplete
 | 
					- Returns None if the command is incomplete
 | 
				
			||||||
- Raise SyntaxError, ValueError or OverflowError if the command is a
 | 
					- Raises SyntaxError, ValueError or OverflowError if the command is a
 | 
				
			||||||
  syntax error (OverflowError and ValueError can be produced by
 | 
					  syntax error (OverflowError and ValueError can be produced by
 | 
				
			||||||
  malformed literals).
 | 
					  malformed literals).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue