Skip to content

Commit

Permalink
Fixed typos in README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
arsarabi committed May 9, 2018
1 parent 7e72194 commit b1a33c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ disk, and later be loaded in a separate session:
import pickle
# Saving
with open('vectorizer.pkl', 'wb'):
with open('vectorizer.pkl', 'wb') as f:
pickle.dump(vectorizer, f)
# Loading
with open('vectorizer.pkl', 'rb'):
vectorizer = pickle.load(vectorizer)
with open('vectorizer.pkl', 'rb') as f:
vectorizer = pickle.load(f)
To-Do
=====
Expand Down

0 comments on commit b1a33c9

Please sign in to comment.