From 99fe978de42ae093340a8cd0c8e515d979db91ac Mon Sep 17 00:00:00 2001 From: Shay Molcho <152275799+shaymolcho@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:00:36 +0200 Subject: [PATCH] Punctuation Fix in Code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I added a period where it was needed and removed a period where it wasn’t necessary. --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 69f2bb25..ea3df85b 100644 --- a/README.rst +++ b/README.rst @@ -39,7 +39,7 @@ Summary of features * Small memory usage * Lets you share memory between multiple processes * Index creation is separate from lookup (in particular you can not add more items once the tree has been created) -* Native Python support, tested with 2.7, 3.6, and 3.7. +* Native Python support, tested with 2.7, 3.6, and 3.7 * Build index on disk to enable indexing big datasets that won't fit into memory (contributed by `Rene Hollander `__) Python code example @@ -83,7 +83,7 @@ Full Python API * ``a.get_distance(i, j)`` returns the distance between items ``i`` and ``j``. NOTE: this used to return the *squared* distance, but has been changed as of Aug 2016. * ``a.get_n_items()`` returns the number of items in the index. * ``a.get_n_trees()`` returns the number of trees in the index. -* ``a.on_disk_build(fn)`` prepares annoy to build the index in the specified file instead of RAM (execute before adding items, no need to save after build) +* ``a.on_disk_build(fn)`` prepares annoy to build the index in the specified file instead of RAM (execute before adding items, no need to save after build). * ``a.set_seed(seed)`` will initialize the random number generator with the given seed. Only used for building up the tree, i. e. only necessary to pass this before adding the items. Will have no effect after calling `a.build(n_trees)` or `a.load(fn)`. Notes: