wroberts / pytimeparse

A small Python module to parse various kinds of time expressions.
MIT License
285 stars 39 forks source link

Example in the README is incorrect #8

Closed dnephin closed 9 years ago

dnephin commented 9 years ago
from pytimeparse import parse

I believe this should be

from pytimeparse.timeparse import timeparse
wroberts commented 9 years ago

Hi @dnephin : Both import statements workforme since version 1.1.4 (b7285cd25ca8d230e25f3d22a0efd94560647f5a). Before that, you're right, the longer import statement was the only one that worked.

dnephin commented 9 years ago

Ok, I guess I was on an older versioj