summaryrefslogtreecommitdiff
path: root/Cython/Plex/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Plex/__init__.py')
-rw-r--r--Cython/Plex/__init__.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/Cython/Plex/__init__.py b/Cython/Plex/__init__.py
index 81a066f78..83bb9239a 100644
--- a/Cython/Plex/__init__.py
+++ b/Cython/Plex/__init__.py
@@ -1,10 +1,6 @@
-#=======================================================================
-#
-# Python Lexical Analyser
-#
-#=======================================================================
-
"""
+Python Lexical Analyser
+
The Plex module provides lexical analysers with similar capabilities
to GNU Flex. The following classes and functions are exported;
see the attached docstrings for more information.
@@ -29,10 +25,10 @@ see the attached docstrings for more information.
Actions for associating with patterns when
creating a Lexicon.
"""
-
+# flake8: noqa:F401
from __future__ import absolute_import
-from .Actions import TEXT, IGNORE, Begin
+from .Actions import TEXT, IGNORE, Begin, Method
from .Lexicons import Lexicon, State
from .Regexps import RE, Seq, Alt, Rep1, Empty, Str, Any, AnyBut, AnyChar, Range
from .Regexps import Opt, Rep, Bol, Eol, Eof, Case, NoCase