Skip to content

Commit

Permalink
Update version to 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Burnett committed Dec 3, 2016
1 parent d783343 commit 48ecb60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scanf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import re
import sys

__version__ = '1.3.3'
__version__ = '1.4'

__all__ = ["scanf", 'extractdata', 'scanf_translate', 'scanf_compile']

Expand Down Expand Up @@ -173,7 +173,7 @@ def extractdata(pattern, text=None, filepath=None):
textsource = open(filepath, 'r')
else:
textsource = text.splitlines()

for line in textsource:
match = scanf(pattern, line)
if match:
Expand All @@ -188,7 +188,7 @@ def extractdata(pattern, text=None, filepath=None):

return y



if __name__ == "__main__":
import doctest
Expand Down

0 comments on commit 48ecb60

Please sign in to comment.