Skip to content

Commit ff661e1

Browse files
committed
correct generic type naming, simplify _to_epsilon_nfa_internal method
1 parent 412b97a commit ff661e1

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

pyformlang/finite_automaton/deterministic_transition_function.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
A deterministic transition function
33
"""
44

5-
# pylint: disable=function-redefined
6-
75
from typing import Optional
86

97
from .nondeterministic_transition_function import \

pyformlang/finite_automaton/finite_automaton.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
""" A general finite automaton representation """
22

3-
# pylint: disable=function-redefined
4-
53
from typing import Dict, List, Set, Tuple, \
64
Iterable, Iterator, Optional, Hashable, Any, TypeVar
75
from abc import abstractmethod

pyformlang/finite_automaton/nondeterministic_transition_function.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
A nondeterministic transition function
33
"""
44

5-
# pylint: disable=function-redefined
6-
75
from typing import Dict, Set, Iterable, Tuple
86
from copy import deepcopy
97

pyformlang/finite_automaton/transition_function.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
General transition function representation
33
"""
44

5-
# pylint: disable=function-redefined
6-
75
from typing import Dict, Set, Tuple, Iterable, Iterator
86
from abc import abstractmethod
97

0 commit comments

Comments
 (0)