Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bacf61 commit 46a9792Copy full SHA for 46a9792
1 file changed
Python/ast.c
@@ -3872,7 +3872,7 @@ ast_for_suite(struct compiling *c, const node *n)
3872
static void
3873
get_last_end_pos(asdl_seq *s, int *end_lineno, int *end_col_offset)
3874
{
3875
- int tot = asdl_seq_LEN(s);
+ Py_ssize_t tot = asdl_seq_LEN(s);
3876
// There must be no empty suites.
3877
assert(tot > 0);
3878
stmt_ty last = asdl_seq_GET(s, tot - 1);
0 commit comments