Skip to content

Commit 21d531f

Browse files
committed
Python: Add QLDoc for FunctionValue.getQualifiedName
Matching the one for Function.getQualifiedName
1 parent 3cfc1e5 commit 21d531f

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
@@ -632,6 +632,10 @@ class ClassValue extends Value {
632632
* Note that this does not include other callables such as bound-methods.
633633
*/
634634
abstract class FunctionValue extends CallableValue {
635+
/**
636+
* Gets the qualified name for this function.
637+
* Should return the same name as the `__qualname__` attribute on functions in Python 3.
638+
*/
635639
abstract string getQualifiedName();
636640

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

0 commit comments

Comments
 (0)