[Python-modules-commits] [python-pyld] 04/07: Fix expanded output.
Wolfgang Borgert
debacle at moszumanska.debian.org
Tue Oct 13 22:56:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag 0.6.8
in repository python-pyld.
commit b2cc497eedfc8cf712230ae0066c3bcab9108f4b
Author: David I. Lehn <dlehn at digitalbazaar.com>
Date: Tue Mar 17 13:59:56 2015 -0400
Fix expanded output.
---
README.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.rst b/README.rst
index 7e61f9d..41eecff 100644
--- a/README.rst
+++ b/README.rst
@@ -93,11 +93,11 @@ Quick Examples
print(json.dumps(expanded, indent=2))
# Output:
- # {
+ # [{
# "http://schema.org/image": [{"@id": "http://manu.sporny.org/images/manu.png"}],
# "http://schema.org/name": [{"@value": "Manu Sporny"}],
# "http://schema.org/url": [{"@id": "http://manu.sporny.org/"}]
- # }
+ # }]
# expand using URLs
jsonld.expand('http://example.org/doc')
--
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