Skip to content

Commit

Permalink
Fixing URI of object property in usage.rst (#35)
Browse files Browse the repository at this point in the history
While the example code worked, an explicit prefix must be provided for saving to functional syntax
  • Loading branch information
cmungall authored Feb 11, 2025
1 parent 3cb3e79 commit ecaba63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Instead of writing class expressions as nested constructor calls, some expressio
A = o.clazz(":A")
B = o.clazz(":B")
C = o.clazz(":C")
r = o.object_property("r")
r = o.object_property(":r")
assert A & B == ObjectIntersectionOf([A, B])
assert A | B == ObjectUnionOf([A, B])
Expand Down

0 comments on commit ecaba63

Please sign in to comment.