From 287f77ca2cf0b62db54e199ca1b5c16c93c3624e Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 15 Feb 2020 21:34:11 +0300 Subject: [PATCH] Use "schema" instead of "scheme" everywhere --- doc/news.rst | 2 +- pyderasn.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/news.rst b/doc/news.rst index 8ec7ba1..0034e1f 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -341,7 +341,7 @@ utility. 1.5 --- -* Generic decoder's scheme and pretty printer +* Generic decoder's schema and pretty printer (:py:func:`pyderasn.generic_decoder`) can be used in libraries * Ability to specify :ref:`defines_by_path ` during command line invocation diff --git a/pyderasn.py b/pyderasn.py index 6da6e92..ced46dd 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -428,7 +428,7 @@ defines_by_path context option ______________________________ Sometimes you either can not or do not want to explicitly set *defines* -in the scheme. You can dynamically apply those definitions when calling +in the schema. You can dynamically apply those definitions when calling ``.decode()`` method. Specify ``defines_by_path`` key in the :ref:`decode context `. Its @@ -1228,7 +1228,7 @@ class Obj(object): :param ctx: optional :ref:`context ` governing decoding process :param tag_only: decode only the tag, without length and contents (used only in Choice and Set structures, trying to - determine if tag satisfies the scheme) + determine if tag satisfies the schema) :param _ctx_immutable: do we need to ``copy.copy()`` ``ctx`` before using it? :returns: (Obj, remaining data) -- 2.44.0