Skip to content

Commit

Permalink
change 'extend' to 'update'
Browse files Browse the repository at this point in the history
  • Loading branch information
235 committed Jan 25, 2013
1 parent cbb7a93 commit d9f340b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.markdown
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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: interface and a ste interface. As an example:


>>> fruit = pybloomfilter.BloomFilter(100000, 0.1, '/tmp/words.bloom') >>> fruit = pybloomfilter.BloomFilter(100000, 0.1, '/tmp/words.bloom')
>>> fruit.extend(('apple', 'pear', 'orange', 'apple')) >>> fruit.update(('apple', 'pear', 'orange', 'apple'))
>>> len(fruit) >>> len(fruit)
3 3
>>> 'mike' in fruit >>> 'mike' in fruit
False False
>>> 'apple' in fruit
True


## Install ## Install


Expand Down

0 comments on commit d9f340b

Please sign in to comment.