mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Jython-friendly tweak.
This commit is contained in:
		
							parent
							
								
									2657df4744
								
							
						
					
					
						commit
						f19c191067
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -156,7 +156,7 @@ def new_module(name): | |||
|     The module is not entered into sys.modules. | ||||
| 
 | ||||
|     """ | ||||
|     return type(sys)(name) | ||||
|     return type(_io)(name) | ||||
| 
 | ||||
| 
 | ||||
| # Finder/loader utility code ################################################## | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brett Cannon
						Brett Cannon