Skip to content

Commit

Permalink
Merge pull request axiak#30 from 235/patch-1
Browse files Browse the repository at this point in the history
change 'extend' to 'update'
  • Loading branch information
axiak committed Jan 25, 2013
2 parents cbb7a93 + d9f340b commit 4e95be2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.markdown
Original file line number 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:

>>> 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

Expand Down

0 comments on commit 4e95be2

Please sign in to comment.