Skip to content

Commit

Permalink
Correct documentation for DFA allow_partial default value
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Feb 27, 2025
1 parent 050e027 commit 1bdf9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automata/fa/dfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class DFA(fa.FA):
The initial state for this DFA.
final_states : AbstractSet[DFAStateT]
A set of final states for this DFA
allow_partial : bool, default: True
allow_partial : bool, default: False
By default, each DFA state must have a transition to
every input symbol; if this parameter is `True`, you can disable this
characteristic (such that any DFA state can have fewer transitions than input
Expand Down

0 comments on commit 1bdf9b7

Please sign in to comment.