mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Use \versionchanged to indicate when the second parameter to utime()
was allowed to be None.
This commit is contained in:
		
							parent
							
								
									a6e8339e61
								
							
						
					
					
						commit
						e06d025e00
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -706,8 +706,9 @@ Availability: Macintosh, \UNIX{}, Windows.
 | 
				
			||||||
Set the access and modified times of the file specified by \var{path}.
 | 
					Set the access and modified times of the file specified by \var{path}.
 | 
				
			||||||
If \var{times} is \code{None}, then the file's access and modified
 | 
					If \var{times} is \code{None}, then the file's access and modified
 | 
				
			||||||
times are set to the current time.  Otherwise, \var{times} must be a
 | 
					times are set to the current time.  Otherwise, \var{times} must be a
 | 
				
			||||||
2-tuple of numbers, of the form \var{(atime, mtime)} which is used to
 | 
					2-tuple of numbers, of the form \code{(\var{atime}, \var{mtime})}
 | 
				
			||||||
set the access and modified times, respectively.
 | 
					which is used to set the access and modified times, respectively.
 | 
				
			||||||
 | 
					\versionchanged[added support for \code{None} for \var{times}]{1.6}
 | 
				
			||||||
Availability: Macintosh, \UNIX{}, Windows.
 | 
					Availability: Macintosh, \UNIX{}, Windows.
 | 
				
			||||||
\end{funcdesc}
 | 
					\end{funcdesc}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue