diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-06-08 17:00:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 16:00:56 +0100 |
commit | 1c02655fb08043b3027748ca1179c416c21a4277 (patch) | |
tree | 3124796b69e7fac7a0100299f7705ac928a474b1 /Python/mystrtoul.c | |
parent | 3fe921cd49959181163671364c8b84faa88f7895 (diff) | |
download | cpython-git-1c02655fb08043b3027748ca1179c416c21a4277.tar.gz |
bpo-44329: Refactor sqlite3 statement creation (GH-26566)
Call SQLite API's first, and return early in case of error. At the end,
allocate the object and initialise members. We now avoid unneeded
alloc/dealloc's in case the statement creation fails.
Diffstat (limited to 'Python/mystrtoul.c')
0 files changed, 0 insertions, 0 deletions