homepage

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.

Author rhettinger
Recipients fredrikj, loewis, mark.dickinson, pitrou, rhettinger, terry.reedy, vstinner
Date 2008年12月16日.14:04:05
SpamBayes Score 5.217735e-06
Marked as misclassified No
Message-id <1229436246.25.0.366274018495.issue3439@psf.upfronthosting.co.za>
In-reply-to
Content
One other thought on the docs. I would like to continue the style of
supplying pure python equivalents to help precisely explain what a
function does (see the itertools docs for an example, also a few
builtins are explained that way and namedtuples too):
+ Equivalent to::
+
+ def numbits(x):
+ 'Number of binary bits necessary to represent the integer n'
+ return len(bin(x).lstrip('-0b'))
History
Date User Action Args
2008年12月16日 14:04:06rhettingersetrecipients: + rhettinger, loewis, terry.reedy, mark.dickinson, pitrou, vstinner, fredrikj
2008年12月16日 14:04:06rhettingersetmessageid: <1229436246.25.0.366274018495.issue3439@psf.upfronthosting.co.za>
2008年12月16日 14:04:05rhettingerlinkissue3439 messages
2008年12月16日 14:04:05rhettingercreate

AltStyle によって変換されたページ (->オリジナル) /