summaryrefslogtreecommitdiff
path: root/lib/sly
diff options
context:
space:
mode:
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.
'''