[Python-Dev] Convention on functions that shadow existing stdlib functions

Georg Brandl g.brandl at gmx.net
Sat Jul 30 08:55:59 CEST 2011


Am 27.07.2011 19:44, schrieb Terry Reedy:
> On 7/27/2011 9:24 AM, Antoine Pitrou wrote:
>>> Docstrings are sufficient for own our purposes.
>> >>> import test.support as t
> >>> help(t.rmtree)
> Help on function rmtree in module test.support:
>> rmtree(path)

Well, what are you waiting for... just add the docstring!
Georg


More information about the Python-Dev mailing list

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