diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-26 10:35:50 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-26 10:35:50 +0100 |
commit | 506a49fd49e028055378af2e35d6022e6bb99b9c (patch) | |
tree | f039ddd3edeb5eb70d9e6e86278131bd2b6dd434 /lib/sly/docparse.py | |
parent | 8494b500712d06be15b53aebaed730c88e5c2b20 (diff) |
blacken code; do not run lint check on external Python libraries
Diffstat (limited to 'lib/sly/docparse.py')
-rw-r--r-- | lib/sly/docparse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sly/docparse.py b/lib/sly/docparse.py index 0f35c97..6a60eaf 100644 --- a/lib/sly/docparse.py +++ b/lib/sly/docparse.py @@ -9,7 +9,7 @@ class DocParseMeta(type): ''' Metaclass that processes the class docstring through a parser and incorporates the result into the resulting class definition. This - allows Python classes to be defined with alternative syntax. + allows Python classes to be defined with alternative syntax. To use this class, you first need to define a lexer and parser: from sly import Lexer, Parser @@ -39,7 +39,7 @@ class DocParseMeta(type): ... """ - It is expected that the MyParser() class would return a dictionary. + It is expected that the MyParser() class would return a dictionary. This dictionary is used to create the final class Spam in this example. ''' |