diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2022-12-30 00:07:20 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-01-12 17:56:00 +0000 |
commit | a560cbf992724eb0195544729d67286fd81f4bac (patch) | |
tree | 37acef131eca1e775920969b9f301eb21ecff28f /src/nxt_event_engine.h | |
parent | 834c1a2dd18312ad80c83f7c6d0480a8e96ae3c9 (diff) | |
download | unit-a560cbf992724eb0195544729d67286fd81f4bac.tar.gz unit-a560cbf992724eb0195544729d67286fd81f4bac.tar.bz2 |
Python: Do some cleanup in nxt_python3_init_config().
This is a preparatory patch for future work and cleans up the code a
little in the Python 3.8+ variant of nxt_python3_init_config().
The main advantage being we no longer have calls to PyConfig_Clear() in
two different paths.
The variables have a little extra space in their declarations to allow
for the next patch which introduces a variable with a longer type name,
which will help reduce the size of the diff.
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_event_engine.h')
0 files changed, 0 insertions, 0 deletions