diff --git a/automat/__init__.py b/automat/__init__.py index 1e1ef43..c4b34e5 100644 --- a/automat/__init__.py +++ b/automat/__init__.py @@ -2,7 +2,7 @@ """ State-machines. """ -from ._typified import TypeMachineBuilder, pep614, AlreadyBuiltError, TypeMachine +from ._typed import TypeMachineBuilder, pep614, AlreadyBuiltError, TypeMachine from ._core import NoTransition from ._methodical import MethodicalMachine diff --git a/automat/_discover.py b/automat/_discover.py index b4f1bed..ae92f82 100644 --- a/automat/_discover.py +++ b/automat/_discover.py @@ -8,7 +8,7 @@ from automat import MethodicalMachine -from ._typified import TypeMachine, InputProtocol, Core +from ._typed import TypeMachine, InputProtocol, Core def isOriginalLocation(attr: PythonAttribute | PythonModule) -> bool: diff --git a/automat/_test/test_visualize.py b/automat/_test/test_visualize.py index 009cf93..552059c 100644 --- a/automat/_test/test_visualize.py +++ b/automat/_test/test_visualize.py @@ -10,7 +10,7 @@ from automat import TypeMachineBuilder, pep614 from .._methodical import MethodicalMachine -from .._typified import TypeMachine +from .._typed import TypeMachine from .test_discover import isTwistedInstalled diff --git a/automat/_typified.py b/automat/_typed.py similarity index 99% rename from automat/_typified.py rename to automat/_typed.py index ca55760..02a77c1 100644 --- a/automat/_typified.py +++ b/automat/_typed.py @@ -633,8 +633,8 @@ class TypeMachineBuilder(Generic[InputProtocol, Core]): instances of C{InputProtocol} that take an instance of C{Core}. Describe the machine with L{TypeMachineBuilder.state} L{.upon - } L{.to - }, then build it with + } L{.to + }, then build it with L{TypeMachineBuilder.build}, like so:: from typing import Protocol diff --git a/automat/_visualize.py b/automat/_visualize.py index a469797..a2b35e5 100644 --- a/automat/_visualize.py +++ b/automat/_visualize.py @@ -10,7 +10,7 @@ from ._core import Automaton, Input, Output, State from ._discover import findMachines from ._methodical import MethodicalMachine -from ._typified import TypeMachine, InputProtocol, Core +from ._typed import TypeMachine, InputProtocol, Core def _gvquote(s: str) -> str: