Skip to content

Commit 3c0fcd6

Browse files
committed
rename argument in declaration
1 parent 33f4283 commit 3c0fcd6

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/metrohash.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ cdef extern from "metro.h" nogil:
4545
ctypedef pair uint128
4646
cdef uint64 c_Uint128Low64 "Uint128Low64" (uint128& x)
4747
cdef uint64 c_Uint128High64 "Uint128High64" (uint128& x)
48-
cdef uint64 c_metrohash64 "metrohash64" (const uint8* buf, uint64 len, uint64 seed)
48+
cdef uint64 c_metrohash64 "metrohash64" (const uint8* buf, uint64 length, uint64 seed)
4949
cdef uint64 c_bytes2int64 "bytes2int64" (uint8* const array)
5050
cdef uint128[uint64,uint64] c_bytes2int128 "bytes2int128" (uint8* const array)
51-
cdef uint128[uint64,uint64] c_metrohash128 "metrohash128" (const uint8* buf, uint64 len, uint64 seed)
51+
cdef uint128[uint64,uint64] c_metrohash128 "metrohash128" (const uint8* buf, uint64 length, uint64 seed)
5252
cdef cppclass CCMetroHash64 "MetroHash64":
5353
CCMetroHash64(const uint64 seed)
5454
void Initialize(const uint64 seed)

tests/test_metrohash.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def test_refcounts(self):
9292
self.assertEqual(sys.getrefcount(arg), old_refcount)
9393

9494

95-
9695
class TestCombiners(unittest.TestCase):
9796

9897
"""test combiners"""

0 commit comments

Comments
 (0)