[Python-modules-commits] [python-pyld] 23/276: Only expose public functions.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:47:49 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 3f1aa22d505eb8b2057944bb79047305c86ba95c
Author: David I. Lehn <dlehn at digitalbazaar.com>
Date:   Mon Sep 5 20:19:33 2011 -0400

    Only expose public functions.
    
    The initial library design is that the normal usage of the API will just
    consist of calling "compact", "expand", "frame", and "normalize".
---
 lib/pyld/jsonld.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 8b1654f..698e006 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -15,6 +15,8 @@ JSON-LD.
 __copyright__ = "Copyright (c) 2011 Digital Bazaar, Inc."
 __license__ = "New BSD licence"
 
+__all__ = ["compact", "expand", "frame", "normalize"]
+
 import copy
 
 ns = {

-- 
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