jmsv / ety-python

A Python module to discover the etymology of words
http://ety-python.rtfd.io
MIT License
144 stars 18 forks source link

Remove globals #17

Closed alxwrd closed 6 years ago

alxwrd commented 6 years ago

hello :wave: !

This removes the globals in data.py. Because the .load() call is made right after data is imported, it seems like that call could be removed.

I also removed parse_row as it was unreferenced. I'm assuming it was from when the data was a tsv?

jmsv commented 6 years ago

@alxwrd Golly that's a much better way of doing it, thanks!

Yeah parse_row was for the tsv - I left it because I wasn't sure how I was going to read the files but it's not needed any more 😃