summaryrefslogtreecommitdiff
path: root/bindings/python/docs/source/conf.py
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2020-05-08 19:24:38 -0400
committerDavid Bremner <david@tethera.net>2020-05-09 08:32:51 -0300
commit627460d7bbbb6b95a07084c2b6fc7f647a5547e1 (patch)
treef774143c548a0938ef3e0bbb6693f17a9a3bd391 /bindings/python/docs/source/conf.py
parent02a2bf1b256f4eeb8c5e08129a2f0976da2569ce (diff)
test-lib: mark function variables as local
Several functions in test/test-lib.sh used variable names that are also used outside of those functions (e.g. $output and $expected are used in many of the test scripts), but they are not expected to communicate via those variables. We mark those variables "local" within test-lib.sh so that they do not get clobbered when used outside test-lib. We also move the local variable declarations to beginning of each function, to avoid weird gotchas with local variable declarations as described in https://tldp.org/LDP/abs/html/localvar.html. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'bindings/python/docs/source/conf.py')
0 files changed, 0 insertions, 0 deletions