[docs] [issue24187] del statement documentation doesn't mention name binding behaviour

Jon report at bugs.python.org
Thu May 14 11:32:49 CEST 2015


New submission from Jon:

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.

----------
assignee: docs at python
components: Documentation
messages: 243163
nosy: docs at python, jc13
priority: normal
severity: normal
status: open
title: del statement documentation doesn't mention name binding behaviour
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24187>
_______________________________________


More information about the docs mailing list