diff options
| author | Paul Sokolovsky | 2014-01-31 17:13:51 +0200 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-01-31 19:47:23 +0200 |
| commit | 027594e1a7d7c8b9e35b252a48fcaf9526411ffb (patch) | |
| tree | 48a3edef041981923bfb1476de53c5ca7779c955 | |
| parent | c92a56dc937dc414139e2bff958190cfb18de5d9 (diff) | |
Typo fixes in comments.
| -rw-r--r-- | py/objexcept.c | 4 | ||||
| -rw-r--r-- | tests/basics/int-small.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/py/objexcept.c b/py/objexcept.c index 8eb4e966e..386e72763 100644 --- a/py/objexcept.c +++ b/py/objexcept.c @@ -12,8 +12,8 @@ #include "objtuple.h" // This is unified class for C-level and Python-level exceptions -// Python-level exception have empty ->msg and all arguments are in -// args tuple. C-level excepttion likely have ->msg and args is empty. +// Python-level exceptions have empty ->msg and all arguments are in +// args tuple. C-level exceptions likely have ->msg set, and args is empty. typedef struct mp_obj_exception_t { mp_obj_base_t base; mp_obj_t traceback; // a list object, holding (file,line,block) as numbers (not Python objects); a hack for now diff --git a/tests/basics/int-small.py b/tests/basics/int-small.py index be338c4a4..53902c7e3 100644 --- a/tests/basics/int-small.py +++ b/tests/basics/int-small.py @@ -1,4 +1,4 @@ -# This test small int range for 32-bit machine +# This tests small int range for 32-bit machine a = 0x3fffff print(a) |
