anupama srinivas murthy added the comment:
In Python 2.7, the capture happens even if there is no decorator. The code:
#Hey this is f
def f():
return
help(f)
gives the output:
Help on function f in module __main__:
f()
#Hey this is f
whereas a docstring inside the function causes the
anupama srinivas murthy added the comment:
The comment is captured only in the absence of a docstring within the function.
The capture happens whether the function is nested or otherwise
--
nosy: +anupama.srinivas.murthy
___
Python tracker
<h
anupama srinivas murthy added the comment:
I have modified the patch and listed the points I know. Could you review it?
--
versions: -Python 3.4, Python 3.5
Added file: http://bugs.python.org/file37052/regex-link.patch
___
Python tracker
<h
anupama srinivas murthy added the comment:
I have added the link and attached the patch below. Could you review it?
Thank you
--
components: -Regular Expressions
keywords: +patch
nosy: +anupama.srinivas.murthy
Added file: http://bugs.python.org/file36900/regex-link.patch
anupama srinivas murthy added the comment:
I have documented the function in object.rst file. I do not know the use of the
function and have not mentioned that. My documentation is based on what I
understood from the comments below and the explanation here:
http://code.activestate.com/lists