Skip to content

Commit 8ee8981

Browse files
committed
Changes from review:
- Fixed second overload of `_TripleType` to return `Path` instead of `_PredicateType`.
1 parent 0227e94 commit 8ee8981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdflib/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ def triples(
486486
def triples(
487487
self,
488488
triple: Tuple[Optional["_SubjectType"], Path, Optional["_ObjectType"]],
489-
) -> Generator[Tuple["_SubjectType", "_PredicateType", "_ObjectType"], None, None]:
489+
) -> Generator[Tuple["_SubjectType", Path, "_ObjectType"], None, None]:
490490
...
491491

492492
@overload

0 commit comments

Comments
 (0)