Skip to content

Commit 1bdf9b7

Browse files
committed
Correct documentation for DFA allow_partial default value
1 parent 050e027 commit 1bdf9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

automata/fa/dfa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class DFA(fa.FA):
7575
The initial state for this DFA.
7676
final_states : AbstractSet[DFAStateT]
7777
A set of final states for this DFA
78-
allow_partial : bool, default: True
78+
allow_partial : bool, default: False
7979
By default, each DFA state must have a transition to
8080
every input symbol; if this parameter is `True`, you can disable this
8181
characteristic (such that any DFA state can have fewer transitions than input

0 commit comments

Comments
 (0)