summary refs log tree commit diff stats
path: root/abdl.py
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2019-12-05 10:02:00 -0300
committerSoniEx2 <endermoneymod@gmail.com>2020-01-22 19:46:23 -0300
commitf6021c41887a70926346bce4742ccc3515e7a16f (patch)
treede58b9b5c1ab40f586eea107bb2ed984dec948a5 /abdl.py
parent099e8f957f3c969c148e6106bf50787d471c0d04 (diff)
Fix some docs
Diffstat (limited to 'abdl.py')
-rw-r--r--abdl.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/abdl.py b/abdl.py
index d8cb86c..8dde742 100644
--- a/abdl.py
+++ b/abdl.py
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
-"""A Boneless Datastructure Language, version 2.0.0.
+"""A Boneless Datastructure Language, version 2.0.1.
 
 ABDL expressions are regex-like constructs for matching and validating object structures. They can be used
 with JSON and similar formats, and even self-referential data structures.
@@ -462,7 +462,11 @@ def _match_helper(ops, defs, tree):
                 in_key = op.on_not_in_key(frame, path, defs)
 
 class Pattern:
-    """A compiled pattern.
+    """A compiled pattern object.
+
+    Warning:
+        Do not create instances of this class manually. Use :py:func:`abdl.compile`.
+
     """
 
     def __init__(self, pattern, defs):