mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	gh-126256: Update time.rst to use the same clock as instead of the same clock than (#126257)
Update time.rst to use `the same clock as` instead of `the same clock than` The time documentation uses the same clock than time.monotonic instead of the same clock as time.monotonic, which is grammatically false. This PR fixes changes two instances of `the same clock than` to `the same clock as`.
This commit is contained in:
		
							parent
							
								
									dd3c0fa3fd
								
							
						
					
					
						commit
						d0abd0b826
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -327,7 +327,7 @@ Functions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   .. impl-detail::
 | 
					   .. impl-detail::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      On CPython, use the same clock than :func:`time.monotonic` and is a
 | 
					      On CPython, use the same clock as :func:`time.monotonic` and is a
 | 
				
			||||||
      monotonic clock, i.e. a clock that cannot go backwards.
 | 
					      monotonic clock, i.e. a clock that cannot go backwards.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   Use :func:`perf_counter_ns` to avoid the precision loss caused by the
 | 
					   Use :func:`perf_counter_ns` to avoid the precision loss caused by the
 | 
				
			||||||
| 
						 | 
					@ -339,7 +339,7 @@ Functions
 | 
				
			||||||
      On Windows, the function is now system-wide.
 | 
					      On Windows, the function is now system-wide.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   .. versionchanged:: 3.13
 | 
					   .. versionchanged:: 3.13
 | 
				
			||||||
      Use the same clock than :func:`time.monotonic`.
 | 
					      Use the same clock as :func:`time.monotonic`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. function:: perf_counter_ns() -> int
 | 
					.. function:: perf_counter_ns() -> int
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue