wbolster / plyvel

Plyvel, a fast and feature-rich Python interface to LevelDB
https://plyvel.readthedocs.io/
Other
530 stars 75 forks source link

Docs have wrong method names for iterators #29

Closed mchaput closed 10 years ago

mchaput commented 10 years ago

In the docs for Iterator and RawIterator it says they have methods "seek_to_start" and "seek_to_end". The actual methods are "seek_to_first" and "seek_to_last".

https://plyvel.readthedocs.org/en/latest/api.html#iterator

wbolster commented 10 years ago

Thanks, I'll fix it.

wbolster commented 10 years ago

Are you sure about this?

The Iterator class has .seek_to_start() and .seek_to_stop(), matching the start and stop arguments: https://plyvel.readthedocs.org/en/latest/api.html#regular-iterators

The low-level RawIterator has .seek_to_first() and .seek_to_last() instead, mimicking the C++ LevelDB API: https://plyvel.readthedocs.org/en/latest/api.html#raw-iterators

wbolster commented 10 years ago

Closing. This wasn't an issue after all, it seems.