Python: Make toString abstract

This commit is contained in:
Taus Brock-Nannestad
2021-02-03 19:50:21 +01:00
parent 6ce160c51c
commit c5d6792c1e

View File

@@ -146,9 +146,7 @@ module API {
/**
* Gets a textual representation of this node.
*/
string toString() {
none() // defined in subclasses
}
abstract string toString();
/**
* Gets a path of the given `length` from the root to this node.