Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change 'extend' to 'update'

  • Loading branch information...
commit d9f340b84780cf01172497f8fc5772f38f5c9c46 1 parent cbb7a93
@235 235 authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.markdown
View
4 README.markdown
@@ -13,11 +13,13 @@ After you install, the interface to use is a cross between a file
interface and a ste interface. As an example:
>>> fruit = pybloomfilter.BloomFilter(100000, 0.1, '/tmp/words.bloom')
- >>> fruit.extend(('apple', 'pear', 'orange', 'apple'))
+ >>> fruit.update(('apple', 'pear', 'orange', 'apple'))
>>> len(fruit)
3
>>> 'mike' in fruit
False
+ >>> 'apple' in fruit
+ True
## Install
Please sign in to comment.
Something went wrong with that request. Please try again.