This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jc13
Recipients docs@python, jc13
Date 2015-05-14.09:32:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431595969.01.0.32289440375.issue24187@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for the del keyword in the language reference doesn't mention the name binding behaviour:

https://docs.python.org/3/reference/simple_stmts.html#grammar-token-del_stmt

It is mentioned in section 4.1 where it says: 

"A target occurring in a del statement is also considered bound for this purpose"

But it's really not obvious to look there when trying to understand what del does.

It would be great if this information were added or a reference made to the other section.
History
Date User Action Args
2015-05-14 09:32:49jc13setrecipients: + jc13, docs@python
2015-05-14 09:32:49jc13setmessageid: <1431595969.01.0.32289440375.issue24187@psf.upfronthosting.co.za>
2015-05-14 09:32:48jc13linkissue24187 messages
2015-05-14 09:32:48jc13create