Skip to content

The function time.clock() has been removed#2

Open
av1m wants to merge 1 commit intoJaneHJY:masterfrom
av1m:patch-1
Open

The function time.clock() has been removed#2
av1m wants to merge 1 commit intoJaneHJY:masterfrom
av1m:patch-1

Conversation

@av1m
Copy link
Copy Markdown

@av1m av1m commented Mar 17, 2021

From https://docs.python.org/3/whatsnew/3.8.html

The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior. (Contributed by Matthias Bussonnier in bpo-36895.)

From https://docs.python.org/3/whatsnew/3.8.html

> The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior. (Contributed by Matthias Bussonnier in bpo-36895.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant