Skip to content

Commit a15834c

Browse files
committed
update pda module docs
1 parent 5904e91 commit a15834c

File tree

8 files changed

+257
-201
lines changed

8 files changed

+257
-201
lines changed

pyformlang/finite_automaton/epsilon_nfa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def get_difference(self, other: "EpsilonNFA") -> "EpsilonNFA":
499499
The other Epsilon NFA.
500500
501501
Returns
502-
---------
502+
-------
503503
The difference with the other epsilon NFA.
504504
505505
Examples

pyformlang/finite_automaton/finite_automaton.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def remove_transition(self,
138138
The destination state.
139139
140140
Returns
141-
--------
141+
-------
142142
1 if the transition existed, 0 otherwise.
143143
144144
Examples
@@ -199,7 +199,7 @@ def remove_start_state(self, state: Hashable) -> int:
199199
"""Removes an initial state from the automaton.
200200
201201
Parameters
202-
-----------
202+
----------
203203
state:
204204
The initial state to remove.
205205

pyformlang/finite_automaton/nondeterministic_transition_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def remove_transition(self,
8080
The destination state.
8181
8282
Returns
83-
--------
83+
-------
8484
1 if the transition was found, 0 otherwise.
8585
8686
Examples

pyformlang/finite_automaton/transition_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def remove_transition(self,
4848
The destination state.
4949
5050
Returns
51-
--------
51+
-------
5252
1 if the transition was found, 0 otherwise.
5353
"""
5454
raise NotImplementedError

0 commit comments

Comments
 (0)