summaryrefslogtreecommitdiffstats
path: root/Lib/argparse.py
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2024-11-24 07:37:37 (GMT)
committerGitHub <noreply@github.com>2024-11-24 07:37:37 (GMT)
commitf7bb658124aba74be4c13f498bf46cfded710ef9 (patch)
treebe3f2fdeda629af39f82d9911dc54f2717bfa60b /Lib/argparse.py
parenta4d4c1ede21f9fa72280f4fc0f50212eecfac9ae (diff)
downloadcpython-f7bb658124aba74be4c13f498bf46cfded710ef9.zip
cpython-f7bb658124aba74be4c13f498bf46cfded710ef9.tar.gz
cpython-f7bb658124aba74be4c13f498bf46cfded710ef9.tar.bz2
gh-113841: fix possible undefined division by 0 in _Py_c_pow() (GH-127211)
`x**y == 1/x**-y ` thus changing `/=` to `*=` by negating the exponent.
Diffstat (limited to 'Lib/argparse.py')
0 files changed, 0 insertions, 0 deletions