Browse Source

Remove debugging statements; doc tweaks.

Stefano Cossu 4 years ago
parent
commit
50d9b96e66

+ 1 - 1
docs/contributing.rst

@@ -33,7 +33,7 @@ Modifying Cython Modules
 Cython files must be recompiled into C files and then into binary files every
 time they are changed. To recompile Lakesuperior modules, run::
 
-    python setup.py --build_ext --inplace
+    python setup.py build_ext --inplace
 
 For a faster compilation while testing, the environment variable ``CFLAGS``
 can set to ``-O0`` to turn off compiler optimization. The runtime code may run

+ 6 - 0
lakesuperior/__init__.py

@@ -17,6 +17,12 @@ referenced or copied with a known path relative to the package root.
 """
 
 class Env:
+    """
+    Lakesuperior environment.
+
+    Instances of this class contain the environment necessary to run a
+    self-standing instance of Lakesuperior in a Python environment.
+    """
     pass
 
 env = Env()

+ 1 - 1
lakesuperior/model/rdf/graph.pyx

@@ -520,7 +520,7 @@ cdef class Graph:
         This function converts RDFLib terms into the serialized format stored
         in the graph's internal structure and compares them bytewise.
 
-        Any and all of the lookup terms msy be ``None``.
+        Any and all of the lookup terms may be ``None``.
 
         :rtype: Graph
         :return: New Graph instance with matching triples.

+ 2 - 2
lakesuperior/store/base_lmdb_store.pyx

@@ -295,9 +295,9 @@ cdef class BaseLmdbStore:
 
 
     cpdef void close_env(self, bint commit_pending_transaction=False) except *:
-        logger.debug('Cleaning up store env.')
+        #logger.debug('Cleaning up store env.')
         if self.is_open:
-            logger.debug('Closing store env.')
+            #logger.debug('Closing store env.')
             if self.is_txn_open is True:
                 if commit_pending_transaction:
                     self._txn_commit()