Commit 37e75f2
Replace string.atoi with int() (#57)
* Replace string.atoi with int()
string-atoi has been deprecated since Python 2.0 (see here: https://docs.python.org/2/library/string.html#string.atoi)
It is suggested to use the built-in int() function instead. On Python3-only
systems (which will hopefully become more relevant in the near future) this
leads to a crash as atoi has been removed completely.
* remove obsolete import
Co-authored-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>1 parent 0aa24c2 commit 37e75f2
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | | - | |
| 200 | + | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
| |||
0 commit comments