Skip to content

Commit

Permalink
Updates README.md with example of the new is_iterable() and `substr…
Browse files Browse the repository at this point in the history
…()` functions
  • Loading branch information
thomskaf committed Feb 25, 2017
1 parent 4c0510a commit 77cd633
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ Install via pip
>>> print(common_sub("Python is named after Monty Python", "What is Python Used For ?", sequence="shortest"))
is
>>> print(common_sub("Python is named after Monty Python", "What is Python Used For ?", sequence="longest"))
Python
Python
>>> print(is_iterable(["foo", "bar"]))
True
>>> print(is_iterable(1234))
False
>>> substr("asdfg", 1, 2)
"sdf"

0 comments on commit 77cd633

Please sign in to comment.