Skip to content

Commit b8161a2

Browse files
committed
Changes from review:
- Used `_TripleType` in second overload of `triples` also.
1 parent 71a1446 commit b8161a2

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["_TripleType", None, None]:
485485
...
486486

487487
@overload

0 commit comments

Comments
 (0)