[Python-checkins] Fix typo (micro->nano) (GH-11759)

Miss Islington (bot) webhook-mailer at python.org
Tue Feb 5 02:33:00 EST 2019


https://github.com/python/cpython/commit/9da3583e78603a81b1839e17a420079f734a75b0
commit: 9da3583e78603a81b1839e17a420079f734a75b0
branch: master
author: Raymond Hettinger <rhettinger at users.noreply.github.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2019-02-04T23:32:55-08:00
summary:

Fix typo (micro->nano) (GH-11759)

files:
M Tools/scripts/var_access_benchmark.py

diff --git a/Tools/scripts/var_access_benchmark.py b/Tools/scripts/var_access_benchmark.py
index b4f3b9727056..f8490457e65a 100644
--- a/Tools/scripts/var_access_benchmark.py
+++ b/Tools/scripts/var_access_benchmark.py
@@ -269,4 +269,4 @@ def loop_overhead(trials=trials):
             continue
         timing = min(Timer(f).repeat(7, 1000))
         timing *= 1000000 / (len(trials) * steps_per_trial)
-        print(u'{:6.1f} \N{greek small letter mu}s\t{}'.format(timing, f.__name__))
+        print('{:6.1f} ns\t{}'.format(timing, f.__name__))



More information about the Python-checkins mailing list