mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Add primitive test for frozen package.
This commit is contained in:
		
							parent
							
								
									fe03e81aa5
								
							
						
					
					
						commit
						f015e18d9d
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -47,7 +47,11 @@ static unsigned char M___hello__[] = { | |||
| }; | ||||
| 
 | ||||
| static struct _frozen _PyImport_FrozenModules[] = { | ||||
| 	/* Test module */ | ||||
| 	{"__hello__", M___hello__, 90}, | ||||
| 	/* Test package (negative size indicates package-ness) */ | ||||
| 	{"__phello__", M___hello__, -90}, | ||||
| 	{"__phello__.spam", M___hello__, 90}, | ||||
| 	{0, 0, 0} /* sentinel */ | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum