New submission from xiaobing jiang:
the inspect module leak docs.
all these functions have no doc.
getlineno
getabsfile
getblock
formatannotation
walktree
findsource
indentsize
getargs
formatannotationrelativeto
classify_class_attrs
----------
assignee: docs@python
components: Documentation
messages: 189193
nosy: docs@python, s7v7nislands@gmail.com
priority: normal
severity: normal
status: open
title: inspect module leak docs
type: enhancement
versions: Python 3.3
_______________________________________
Python tracker
Terry J. Reedy added the comment:
I do not know what you mean by 'leak docs' so I changed the title to something that makes more sense. It is possible that these functions are considered private to the module, but then their names should be preceded by '_', or else there should be an '__all__' list that omits them. So the omission may be a mistake. I do not know.
----------
nosy: +terry.reedy
stage: -> needs patch
title: inspect module leak docs -> inspect module docs omits many functions
_______________________________________
Python tracker
xiaobing jiang added the comment:
when I read the memory_profiler source code, I find it using inspect.getblock(). so I check the doc, but can't find the function's doc.
these functions are found not in doc. I want to known which function should in doc or not? in inspect module has no __all__ variable.
sorry for poor english!
----------
_______________________________________
Python tracker
Changes by Eric Snow
Change by Martin Panter
Change by Terry J. Reedy
Change by Anand Reddy Pandikunta
Change by Cheryl Sabella
Paul Rudin
R. David Murray
Paul Rudin
R. David Murray
Paul Rudin
Matthias Bussonnier
Change by Matthias Bussonnier
Change by Karthikeyan Singaravelan
Lysandros Nikolaou
Lysandros Nikolaou
Cheryl Sabella
Change by kernc
participants (12)
-
Anand Reddy Pandikunta
-
Cheryl Sabella
-
Eric Snow
-
Karthikeyan Singaravelan
-
kernc
-
Lysandros Nikolaou
-
Martin Panter
-
Matthias Bussonnier
-
Paul Rudin
-
R. David Murray
-
Terry J. Reedy
-
xiaobing jiang