Skip to content

Commit faf95a9

Browse files
committed
Changes from review:
- Fixed second overload of `_TripleType` to return `Path` instead of `_PredicateType`.
1 parent 71a1446 commit faf95a9

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
@@ -481,7 +481,7 @@ def triples(
481481
def triples(
482482
self,
483483
triple: Tuple[Optional["_SubjectType"], Path, Optional["_ObjectType"]],
484-
) -> Generator[Tuple["_SubjectType", "_PredicateType", "_ObjectType"], None, None]:
484+
) -> Generator[Tuple["_SubjectType", Path, "_ObjectType"], None, None]:
485485
...
486486

487487
@overload

0 commit comments

Comments
 (0)