summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2019-12-05 10:02:00 -0300
committerSoniEx2 <endermoneymod@gmail.com>2019-12-05 10:02:00 -0300
commit803b76012340a029291ca27c4227c16bffb29265 (patch)
tree7c3c62a9a3fc8bd8d48b33a26c376de8cf757185
parent50fd9418f9dcb3a9ae609582b913decddcd84c93 (diff)
Fix some docs
-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):