diff --git a/NEWS b/NEWS index ece2092..319e391 100644 --- a/NEWS +++ b/NEWS @@ -280,7 +280,7 @@ Changes from Hy 0.9.10 * Clarified rest / cdr, cleaned up require * Make with return the last expression from its branch * Fix yielding to not suck (#151) - * Make assoc accept multiple values, also added a even/odd check for + * Make assoc accept multiple values, also added an even/odd check for checkargs * Added ability to parse doc strings set in defclass declarations, * Provide bin scripts for both Windows and *nix diff --git a/hy/importer.py b/hy/importer.py index 8fcbd27..6eca35a 100644 --- a/hy/importer.py +++ b/hy/importer.py @@ -45,12 +45,12 @@ def ast_compile(ast, filename, mode): def import_buffer_to_hst(buf): - """Import content from buf and return an Hy AST.""" + """Import content from buf and return a Hy AST.""" return tokenize(buf + "\n") def import_file_to_hst(fpath): - """Import content from fpath and return an Hy AST.""" + """Import content from fpath and return a Hy AST.""" try: with open(fpath, 'r', encoding='utf-8') as f: return import_buffer_to_hst(f.read())