summaryrefslogtreecommitdiff
path: root/examples/chess3.py
diff options
context:
space:
mode:
authorWataru Ashihara <wataash@wataash.com>2019-11-10 22:32:02 +0900
committerWataru Ashihara <wataash@wataash.com>2019-11-10 22:34:37 +0900
commit76f3f4f4fff6e1981111278b9bcbad9b75b52b82 (patch)
tree70cbd8609ec3958a7a03a7de978738752b31c75a /examples/chess3.py
parent4a64a9ca400aaecbe804f32120e66f815b74a686 (diff)
downloadpexpect-git-76f3f4f4fff6e1981111278b9bcbad9b75b52b82.tar.gz
Fix old import path
Diffstat (limited to 'examples/chess3.py')
-rwxr-xr-xexamples/chess3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/chess3.py b/examples/chess3.py
index 2c087b0..e3e6200 100755
--- a/examples/chess3.py
+++ b/examples/chess3.py
@@ -27,7 +27,7 @@ from __future__ import print_function
from __future__ import absolute_import
import pexpect
-import ANSI
+from pexpect import ANSI
REGEX_MOVE = r'(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)'
REGEX_MOVE_PART = r'(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)'