summaryrefslogtreecommitdiff
path: root/lib/sly
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-11-02 10:11:08 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2020-11-02 10:11:08 +0100
commitc179546f74807882f4dff47c8a969741f2dba1a7 (patch)
tree946a068fc4fb4f705678895e405b3b27990a49d9 /lib/sly
parent081247660357c8f63fdaaf363c29d1b95a86b842 (diff)
parentdd33d9b36dd071d04ccba5a000e9562c2b6a4a31 (diff)
Merge branch 'master' into merge-prep/janis
Diffstat (limited to 'lib/sly')
-rw-r--r--lib/sly/docparse.py4
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.
'''