]> Devi Nivas Git - chevron.git/commit
Changed tokenize to use file like objects
authornoah morrison <noah@morrison.ph>
Fri, 31 Oct 2014 20:36:57 +0000 (16:36 -0400)
committernoah morrison <noah@morrison.ph>
Fri, 31 Oct 2014 20:36:57 +0000 (16:36 -0400)
commit3eeda9ebf75653bf23d94a7efb58af48b6681f4d
tree430196805d3206426fc2e580e1fce9f4ad9e2f58
parent438f98aabfbb20988d95a66487361a793253b820
Changed tokenize to use file like objects

tokenize now takes a file object (or file like object).
If tokenize is given a string it turns it into a file like object.

Also renamed look to peek.
chevron.py