classification
Title: Odd sentence in 3.9 What's New
Type: Stage: resolved
Components: Documentation Versions: Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: DahlitzFlorian, docs@python, eric.smith, miss-islington
Priority: normal Keywords: patch

Created on 2020-05-22 14:39 by eric.smith, last changed 2020-05-22 19:45 by eric.smith. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 20316 merged DahlitzFlorian, 2020-05-22 15:01
PR 20318 merged miss-islington, 2020-05-22 15:19
Messages (6)
msg369607 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2020-05-22 14:39
https://docs.python.org/3.9/whatsnew/3.9.html#optimizations has this sentence: "Unlike to the := operator this idiom does not leak a variable to the outer scope.". I'm not exactly sure what it should be. Probably the first "to" should be deleted?
msg369608 - (view) Author: Florian Dahlitz (DahlitzFlorian) * Date: 2020-05-22 14:50
Hi @eric.smith. I'm sure the first "to" can be removed. It sounds better this way. Am I free to open a PR?
msg369609 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2020-05-22 14:52
Yes, please go ahead.
msg369611 - (view) Author: miss-islington (miss-islington) Date: 2020-05-22 15:19
New changeset 30d5a7364db9e65ccabbdce2c20b84fe2fb233fb by Florian Dahlitz in branch 'master':
bpo-40730: Remove redundant 'to' (GH-20316)
https://github.com/python/cpython/commit/30d5a7364db9e65ccabbdce2c20b84fe2fb233fb
msg369613 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2020-05-22 15:27
New changeset 983b17ca1319adf9f06d5f2779a44450241eba54 by Miss Islington (bot) in branch '3.9':
bpo-40730: Remove redundant 'to' (GH-20316) (GH-20318)
https://github.com/python/cpython/commit/983b17ca1319adf9f06d5f2779a44450241eba54
msg369634 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2020-05-22 19:45
Thanks, @DahlitzFlorian!
History
Date User Action Args
2020-05-22 19:45:27eric.smithsetstatus: open -> closed
versions: + Python 3.10
messages: + msg369634

resolution: fixed
stage: patch review -> resolved
2020-05-22 15:27:00eric.smithsetmessages: + msg369613
2020-05-22 15:19:32miss-islingtonsetpull_requests: + pull_request19587
2020-05-22 15:19:21miss-islingtonsetnosy: + miss-islington
messages: + msg369611
2020-05-22 15:01:16DahlitzFloriansetkeywords: + patch
stage: patch review
pull_requests: + pull_request19585
2020-05-22 14:52:14eric.smithsetmessages: + msg369609
2020-05-22 14:50:49DahlitzFloriansetnosy: + DahlitzFlorian
messages: + msg369608
2020-05-22 14:39:35eric.smithcreate