ENH add line_range argument
Merge pull request #7 from hayd/line_range

ENH add line_range argument