This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 vstinner
收信人 belopolsky, loewis, vstinner
日期 2012-01-26.21:04:26
SpamBayes Score 0.0016254748
Marked as misclassified
Message-id <1327611867.42.0.650618717793.issue13882@psf.upfronthosting.co.za>
In-reply-to
内容
Some examples of the API:

$ ./python 
Python 3.3.0a0 (default:52f68c95e025+, Jan 26 2012, 21:54:31) 
>>> import time
>>> time.time()
1327611705.948446
>>> time.time('decimal')
Decimal('1327611708.988419')
>>> t1=time.time('decimal'); t2=time.time('decimal'); t2-t1
Decimal('0.000550')
>>> t1=time.time('float'); t2=time.time('float'); t2-t1
5.9604644775390625e-06
>>> time.clock_gettime(time.CLOCK_MONOTONIC, 'decimal')
Decimal('1211833.389740312')
>>> time.clock_getres(time.CLOCK_MONOTONIC, 'decimal')
Decimal('1E-9')
>>> time.clock()
0.12
>>> time.clock('decimal')
Decimal('0.120000')
历史
日期 用户 动作 参数
2012-01-26 21:04:27vstinner修改recipients: + vstinner, loewis, belopolsky
2012-01-26 21:04:27vstinner修改messageid: <1327611867.42.0.650618717793.issue13882@psf.upfronthosting.co.za>
2012-01-26 21:04:26vstinner链接issue13882 messages
2012-01-26 21:04:26vstinner创建