mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	That was one too much.
This commit is contained in:
		
							parent
							
								
									7eb4b7d177
								
							
						
					
					
						commit
						9443242463
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -92,7 +92,7 @@ def classname(object, modname): | |||
|     return name | ||||
| 
 | ||||
| def isdata(object): | ||||
|     """Check if an object is of a type that probably means its data.""" | ||||
|     """Check if an object is of a type that probably means it's data.""" | ||||
|     return not (inspect.ismodule(object) or inspect.isclass(object) or | ||||
|                 inspect.isroutine(object) or inspect.isframe(object) or | ||||
|                 inspect.istraceback(object) or inspect.iscode(object)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl