Skip to content

Commit 2081d0c

Browse files
authored
Merge pull request github#3575 from RasmusWL/python-add-qldoc-FunctionValue.getQualifiedName
Python: Add QLDoc for FunctionValue.getQualifiedName
2 parents 09d7ed0 + 21d531f commit 2081d0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/ql/src/semmle/python/objects/ObjectAPI.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,10 @@ class ClassValue extends Value {
649649
* Note that this does not include other callables such as bound-methods.
650650
*/
651651
abstract class FunctionValue extends CallableValue {
652+
/**
653+
* Gets the qualified name for this function.
654+
* Should return the same name as the `__qualname__` attribute on functions in Python 3.
655+
*/
652656
abstract string getQualifiedName();
653657

654658
/** Gets a longer, more descriptive version of toString() */

0 commit comments

Comments
 (0)