Skip to content

Commit a8e22a1

Browse files
Update docs/source/core_engine/01-flags.md
Co-authored-by: Glenn Matthews <[email protected]>
1 parent 6591f73 commit a8e22a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/core_engine/01-flags.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ Validating if a flag is enabled is possible with the bitwise operator AND: `&`.
9090

9191
```python
9292
>>> from diffsync.enum import DiffSyncFlags
93-
>>> flags = 0
93+
>>> flags = DiffSyncFlags.NONE
9494
>>> bool(flags & DiffSyncFlags.CONTINUE_ON_FAILURE)
95-
>>> False
95+
False
9696
>>> flags |= DiffSyncFlags.CONTINUE_ON_FAILURE
9797
>>> bool(flags & DiffSyncFlags.CONTINUE_ON_FAILURE)
98-
>>> True
98+
True
9999
```
100100

101101
### Disable a flag (bitwise NOT)

0 commit comments

Comments
 (0)