Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Oct 26, 2022
1 parent ce84096 commit e4b5973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ values or symmetric values.
# iterate through active flags
assert [perm for perm in Perm.RWX] == [Perm.R, Perm.W, Perm.X]
# note (empty flag - returns empty list)
assert Perm(0).flagged == []
# flagged property returns list of flags
assert (Perm.R | Perm.W).flagged == [Perm.R, Perm.W]
# instantiate a Flag off an empty iterable
assert Perm(0) == Perm([])
Expand Down

0 comments on commit e4b5973

Please sign in to comment.