mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	gh-109495: Remove unused slots from the Python implementation of datetime (GH-109494)
This commit is contained in:
		
							parent
							
								
									20bc5f7c28
								
							
						
					
					
						commit
						7d57288f6d
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1684,7 +1684,7 @@ class datetime(date): | |||
|     The year, month and day arguments are required. tzinfo may be None, or an | ||||
|     instance of a tzinfo subclass. The remaining arguments may be ints. | ||||
|     """ | ||||
|     __slots__ = date.__slots__ + time.__slots__ | ||||
|     __slots__ = time.__slots__ | ||||
| 
 | ||||
|     def __new__(cls, year, month=None, day=None, hour=0, minute=0, second=0, | ||||
|                 microsecond=0, tzinfo=None, *, fold=0): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 James Hilton-Balfe
						James Hilton-Balfe