Skip to content

Commit 2f2cf94

Browse files
authored
Format docstring for Graph.value to match others (#2899)
1 parent 6882f5f commit 2f2cf94

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

rdflib/graph.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,10 +1015,11 @@ def value(
10151015
'macro' like utility
10161016
10171017
Parameters:
1018-
subject, predicate, object -- exactly one must be None
1019-
default -- value to be returned if no values found
1020-
any -- if True, return any value in the case there is more than one,
1021-
else, raise UniquenessError
1018+
1019+
- subject, predicate, object: exactly one must be None
1020+
- default: value to be returned if no values found
1021+
- any: if True, return any value in the case there is more than one,
1022+
else, raise UniquenessError
10221023
"""
10231024
retval = default
10241025

0 commit comments

Comments
 (0)