Skip to content

Commit 586b3ed

Browse files
committed
improve python imports, fix typo
1 parent 1deefe9 commit 586b3ed

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

python/datasketches/TupleWrapper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717

1818
from abc import ABC, abstractmethod
1919

20-
from .TuplePolicy import TuplePolicy
2120
from _datasketches import _tuple_sketch, _compact_tuple_sketch, _update_tuple_sketch
2221
from _datasketches import _tuple_union, _tuple_intersection
2322
from _datasketches import _tuple_a_not_b, _tuple_jaccard_similarity
24-
from _datasketches import PyObjectSerDe, theta_sketch
23+
from _datasketches import PyObjectSerDe, theta_sketch, TuplePolicy
2524

2625
class tuple_sketch(ABC):
2726
"""An abstract base class representing a Tuple Sketch."""

python/include/py_object_lt.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
/*
2626
This header defines a less than operator on generic python
27-
objects. The implementation calls the object's built-in __lr__()
27+
objects. The implementation calls the object's built-in __lt__()
2828
method. If that method is not defined, the call may fail.
2929
*/
3030

0 commit comments

Comments
 (0)