Message243163
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. |
|
Date |
User |
Action |
Args |
2015-05-14 09:32:49 | jc13 | set | recipients:
+ jc13, docs@python |
2015-05-14 09:32:49 | jc13 | set | messageid: <1431595969.01.0.32289440375.issue24187@psf.upfronthosting.co.za> |
2015-05-14 09:32:48 | jc13 | link | issue24187 messages |
2015-05-14 09:32:48 | jc13 | create | |
|