Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5d6792

Browse files
committed
Python: Make toString abstract
1 parent 6ce160c commit c5d6792

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

python/ql/src/semmle/python/ApiGraphs.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ module API {
146146
/**
147147
* Gets a textual representation of this node.
148148
*/
149-
string toString() {
150-
none() // defined in subclasses
151-
}
149+
abstract string toString();
152150

153151
/**
154152
* Gets a path of the given `length` from the root to this node.

0 commit comments

Comments
 (0)