mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	 6ae254aaa0
			
		
	
	
		6ae254aaa0
		
			
		
	
	
	
	
		
			
			Tools such as ruff can ignore "imported but unused" warnings if a line ends with "# noqa: F401". It avoids the temptation to remove an import which is used effectively.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			285 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			285 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| __all__ = [
 | |
|     # Functions
 | |
|     'calcsize', 'pack', 'pack_into', 'unpack', 'unpack_from',
 | |
|     'iter_unpack',
 | |
| 
 | |
|     # Classes
 | |
|     'Struct',
 | |
| 
 | |
|     # Exceptions
 | |
|     'error'
 | |
|     ]
 | |
| 
 | |
| from _struct import *
 | |
| from _struct import _clearcache  # noqa: F401
 | |
| from _struct import __doc__  # noqa: F401
 |