minor: doc: getfuncargnames: move TODO out of docstring

This commit is contained in:
Daniel Hahler 2020-01-30 23:21:45 +01:00
parent eb5e651d7e
commit 5b81bd862c
1 changed files with 5 additions and 5 deletions

View File

@ -143,12 +143,12 @@ def getfuncargnames(
the case of cls, the function is a static method.
The name parameter should be the original name in which the function was collected.
@RonnyPfannschmidt: This function should be refactored when we
revisit fixtures. The fixture mechanism should ask the node for
the fixture names, and not try to obtain directly from the
function object well after collection has occurred.
"""
# TODO(RonnyPfannschmidt): This function should be refactored when we
# revisit fixtures. The fixture mechanism should ask the node for
# the fixture names, and not try to obtain directly from the
# function object well after collection has occurred.
# The parameters attribute of a Signature object contains an
# ordered mapping of parameter names to Parameter instances. This
# creates a tuple of the names of the parameters that don't have