[Python-modules-commits] [python-pyld] 144/276: Remove strict option.
Wolfgang Borgert
debacle at moszumanska.debian.org
Wed Oct 8 23:48:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-pyld.
commit 1f6e7810982a03cd225394c26e2acf7a566bfca7
Author: Dave Longley <dlongley at digitalbazaar.com>
Date: Mon Jul 15 12:15:39 2013 -0400
Remove strict option.
---
lib/pyld/jsonld.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 54d1318..2dbce53 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -75,7 +75,6 @@ def compact(input_, ctx, options=None):
:param ctx: the JSON-LD context to compact with.
:param [options]: the options to use.
[base] the base IRI to use.
- [strict] use strict mode (default: True).
[compactArrays] True to compact arrays to single values when
appropriate, False not to (default: True).
[graph] True to always output a top-level graph (default: False).
@@ -356,7 +355,6 @@ class JsonLdProcessor:
:param ctx: the context to compact with.
:param options: the options to use.
[base] the base IRI to use.
- [strict] use strict mode (default: True).
[compactArrays] True to compact arrays to single values when
appropriate, False not to (default: True).
[graph] True to always output a top-level graph (default: False).
@@ -381,7 +379,6 @@ class JsonLdProcessor:
# set default options
options = options or {}
options.setdefault('base', input_ if _is_string(input_) else '')
- options.setdefault('strict', True)
options.setdefault('compactArrays', True)
options.setdefault('graph', False)
options.setdefault('skipExpansion', False)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git
More information about the Python-modules-commits
mailing list