[issue23217] help() function incorrectly captures comment preceding a nested function

2015-01-19 Thread anupama srinivas murthy
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

[issue23217] help() function incorrectly captures comment preceding a nested function

2015-01-18 Thread anupama srinivas murthy
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

[issue22594] Add a link to the regex module in re documentation

2014-10-28 Thread anupama srinivas murthy
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

[issue22594] Add a link to the regex module in re documentation

2014-10-13 Thread anupama srinivas murthy
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

[issue22456] __base__ undocumented

2014-09-30 Thread anupama srinivas murthy
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