summaryrefslogtreecommitdiff
path: root/rdflib/paths.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdflib/paths.py')
-rw-r--r--rdflib/paths.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/paths.py b/rdflib/paths.py
index 6ca42d74..df713617 100644
--- a/rdflib/paths.py
+++ b/rdflib/paths.py
@@ -214,7 +214,7 @@ ZeroOrOne = "?"
@total_ordering
-class Path(object):
+class Path:
__or__: Callable[["Path", Union["URIRef", "Path"]], "AlternativePath"]
__invert__: Callable[["Path"], "InvPath"]
__neg__: Callable[["Path"], "NegatedPath"]