mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Got rid of obsolete way to get at various toolbox types.
This commit is contained in:
		
							parent
							
								
									77afbc0b3b
								
							
						
					
					
						commit
						ad5dcafac4
					
				
					 1 changed files with 3 additions and 5 deletions
				
			
		|  | @ -57,11 +57,9 @@ | ||||||
| # | # | ||||||
| # Some python types we need in the packer: | # Some python types we need in the packer: | ||||||
| # | # | ||||||
| AEDescType = type(AE.AECreateDesc('TEXT', '')) | AEDescType = AE.AEDescType | ||||||
| _sample_fss = macfs.FSSpec(':') | FSSType = macfs.FSSpecType | ||||||
| _sample_alias = _sample_fss.NewAliasMinimal() | AliasType = macfs.AliasType | ||||||
| FSSType = type(_sample_fss) |  | ||||||
| AliasType = type(_sample_alias) |  | ||||||
| 
 | 
 | ||||||
| def pack(x, forcetype = None): | def pack(x, forcetype = None): | ||||||
| 	"""Pack a python object into an AE descriptor""" | 	"""Pack a python object into an AE descriptor""" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jack Jansen
						Jack Jansen