minor: doc: getfuncargnames: move TODO out of docstring
This commit is contained in:
parent
eb5e651d7e
commit
5b81bd862c
|
@ -143,12 +143,12 @@ def getfuncargnames(
|
||||||
the case of cls, the function is a static method.
|
the case of cls, the function is a static method.
|
||||||
|
|
||||||
The name parameter should be the original name in which the function was collected.
|
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
|
# The parameters attribute of a Signature object contains an
|
||||||
# ordered mapping of parameter names to Parameter instances. This
|
# ordered mapping of parameter names to Parameter instances. This
|
||||||
# creates a tuple of the names of the parameters that don't have
|
# creates a tuple of the names of the parameters that don't have
|
||||||
|
|
Loading…
Reference in New Issue