mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	
		
			
	
	
		
			20 lines
		
	
	
	
		
			569 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
	
		
			569 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| 
								 | 
							
								.. _custominterp:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								**************************
							 | 
						||
| 
								 | 
							
								Custom Python Interpreters
							 | 
						||
| 
								 | 
							
								**************************
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								The modules described in this chapter allow writing interfaces similar to
							 | 
						||
| 
								 | 
							
								Python's interactive interpreter.  If you want a Python interpreter that
							 | 
						||
| 
								 | 
							
								supports some special feature in addition to the Python language, you should
							 | 
						||
| 
								 | 
							
								look at the :mod:`code` module.  (The :mod:`codeop` module is lower-level, used
							 | 
						||
| 
								 | 
							
								to support compiling a possibly-incomplete chunk of Python code.)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								The full list of modules described in this chapter is:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								.. toctree::
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   code.rst
							 | 
						||
| 
								 | 
							
								   codeop.rst
							 |