Browse Source

Typo fixes in comments.

pull/249/head
Paul Sokolovsky 11 years ago
parent
commit
027594e1a7
  1. 4
      py/objexcept.c
  2. 2
      tests/basics/int-small.py

4
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

2
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)

Loading…
Cancel
Save