Skip to content

Commit

Permalink
Changes from review:
Browse files Browse the repository at this point in the history
- Fixed second overload of `_TripleType` to return `Path` instead of
  `_PredicateType`.
  • Loading branch information
aucampia committed Apr 19, 2022
1 parent 71a1446 commit faf95a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def triples(
def triples(
self,
triple: Tuple[Optional["_SubjectType"], Path, Optional["_ObjectType"]],
) -> Generator[Tuple["_SubjectType", "_PredicateType", "_ObjectType"], None, None]:
) -> Generator[Tuple["_SubjectType", Path, "_ObjectType"], None, None]:
...

@overload
Expand Down

0 comments on commit faf95a9

Please sign in to comment.