You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2023/04/21 18:22:55 UTC
[datasketches-cpp] 02/02: improve python imports, fix typo
This is an automated email from the ASF dual-hosted git repository.
jmalkin pushed a commit to branch minor_cleanup
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
commit 586b3edcfd4a2a45a89ece88d65ea6ccfbd11377
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Fri Apr 21 11:22:27 2023 -0700
improve python imports, fix typo
---
python/datasketches/TupleWrapper.py | 3 +--
python/include/py_object_lt.hpp | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/python/datasketches/TupleWrapper.py b/python/datasketches/TupleWrapper.py
index 155016f..3b38da0 100644
--- a/python/datasketches/TupleWrapper.py
+++ b/python/datasketches/TupleWrapper.py
@@ -17,11 +17,10 @@
from abc import ABC, abstractmethod
-from .TuplePolicy import TuplePolicy
from _datasketches import _tuple_sketch, _compact_tuple_sketch, _update_tuple_sketch
from _datasketches import _tuple_union, _tuple_intersection
from _datasketches import _tuple_a_not_b, _tuple_jaccard_similarity
-from _datasketches import PyObjectSerDe, theta_sketch
+from _datasketches import PyObjectSerDe, theta_sketch, TuplePolicy
class tuple_sketch(ABC):
"""An abstract base class representing a Tuple Sketch."""
diff --git a/python/include/py_object_lt.hpp b/python/include/py_object_lt.hpp
index 27d742f..d17fa7b 100644
--- a/python/include/py_object_lt.hpp
+++ b/python/include/py_object_lt.hpp
@@ -24,7 +24,7 @@
/*
This header defines a less than operator on generic python
- objects. The implementation calls the object's built-in __lr__()
+ objects. The implementation calls the object's built-in __lt__()
method. If that method is not defined, the call may fail.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org