summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-02-10 07:42:38 +0100
committerGitHub <noreply@github.com>2023-02-10 07:42:38 +0100
commit27e3624d86e5a49a5cbbdc72990ede8c0ff65376 (patch)
treef557695598efd41df6d6dc0db423af3d6df1e010 /doc
parent4422094be06b47daa2f8b2b79f076417dccc1c6e (diff)
downloadpylint-git-27e3624d86e5a49a5cbbdc72990ede8c0ff65376.tar.gz
Fix `used-before-assignment` false positive for walrus operator in dictionary (#8176) (#8254)
(cherry picked from commit 32e1545efac4f8b3b1c7b6b3efa160d1cb4f4046) Co-authored-by: Zen Lee <53538590+zenlyj@users.noreply.github.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/fragments/8125.bugfix4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/whatsnew/fragments/8125.bugfix b/doc/whatsnew/fragments/8125.bugfix
new file mode 100644
index 000000000..bb7860f92
--- /dev/null
+++ b/doc/whatsnew/fragments/8125.bugfix
@@ -0,0 +1,4 @@
+Fix ``used-before-assignment`` false positive when the walrus operator
+is used with a ternary operator in dictionary key/value initialization.
+
+Closes #8125