Skip to content

Commit

Permalink
Update example in docs.
Browse files Browse the repository at this point in the history
Fixes #55.
  • Loading branch information
chrippa committed Dec 2, 2012
1 parent 44b3c78 commit fd134b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/index.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ Fetching a streams data::


# do something with data # do something with data


fd.close() # All streams are not guaranteed to support .close()
if hasattr(fd, "close"):
fd.close()






Expand Down

0 comments on commit fd134b5

Please sign in to comment.