New submission from Jaivish Kothari:
Star operator in python for unpacking could be documented for better
understanding.
--
assignee: docs@python
components: Documentation
messages: 261288
nosy: docs@python, janonymous
priority: normal
severity: normal
status: open
title: Document
New submission from Jaivish Kothari:
https://docs.python.org/2/library/threading.html#threading.Event.set
links missing for wait and clear .
set() is linked though.
Line:
An event object manages an internal flag that can be set to true with the set()
method and reset to false with the clear
Jaivish Kothari added the comment:
My Pleasure sir :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24443
___
___
Python-bugs-list mailing list
Jaivish Kothari added the comment:
Thank you Tim.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24005
___
___
Python-bugs-list mailing list
Jaivish Kothari added the comment:
Thanks for support . I agree it is not a bug at all but just as Tim said it
would be easy to copy paste code directly to interpreter with such changes.
This was my first contribution in python though not accepted , it is ok :) .
I'll try to contribute more
Jaivish Kothari added the comment:
Please find the attached patch for review.
--
keywords: +patch
resolution: - fixed
Added file: http://bugs.python.org/file39118/doc_patch.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
New submission from Jaivish Kothari:
https://docs.python.org/2/whatsnew/2.4.html?highlight=decorators#pep-318-decorators-for-functions-and-methods
'''
def require_int (func):
def wrapper (arg):
assert isinstance(arg, int)
return func(arg)
return wrapper
'''
New line