Skip to content

Commit 027594e

Browse files
committed
Typo fixes in comments.
1 parent c92a56d commit 027594e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

py/objexcept.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include "objtuple.h"
1313

1414
// This is unified class for C-level and Python-level exceptions
15-
// Python-level exception have empty ->msg and all arguments are in
16-
// args tuple. C-level excepttion likely have ->msg and args is empty.
15+
// Python-level exceptions have empty ->msg and all arguments are in
16+
// args tuple. C-level exceptions likely have ->msg set, and args is empty.
1717
typedef struct mp_obj_exception_t {
1818
mp_obj_base_t base;
1919
mp_obj_t traceback; // a list object, holding (file,line,block) as numbers (not Python objects); a hack for now

tests/basics/int-small.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This test small int range for 32-bit machine
1+
# This tests small int range for 32-bit machine
22

33
a = 0x3fffff
44
print(a)

0 commit comments

Comments
 (0)