Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
gma committed Apr 27, 2010
1 parent 120832c commit 1c6fb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For example, if we're only interested in the first 4 topics we can use the `enum
Username Clashes With Twitter API Product...
I cant change my background - too many tweets for last 36 ho...

Note that we instantiated the `api` object by passing it's identifier ('twitter_api') into a new instance of the `Product` class. We could just as easily have used the existing `product` object from the previous example, but I wanted to demonstrate how to reference a product by combining the brand and product name into a lower case string.
Note that we instantiated the `api` object by passing its identifier ('twitter_api') into a new instance of the `Product` class. We could just as easily have used the existing `product` object from the previous example, but I wanted to demonstrate how to reference a product by combining the brand and product name into a lower case string.

A more flexible alternative to the `enumerate()` function is the `itertools.islice()` function:

Expand Down

0 comments on commit 1c6fb61

Please sign in to comment.