diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2022-12-30 00:07:20 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2022-12-30 00:07:20 +0000 |
commit | fcbb26e92af4cab8877ff5dc39b787377e5ce253 (patch) | |
tree | 60262cefcde0233a9758d239301b8e2ae84767e5 /LICENSE | |
parent | 2596a8952720bb8503430eda3b4560435fd7b71e (diff) | |
download | unit-fcbb26e92af4cab8877ff5dc39b787377e5ce253.tar.gz unit-fcbb26e92af4cab8877ff5dc39b787377e5ce253.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 'LICENSE')
0 files changed, 0 insertions, 0 deletions