Null Literal Unpacking
Discussions on Python.org
Null Literal Unpacking
Prior discussion thread: PEP 802: Display Syntax for the Empty Set - #166 by gesslerpd This post is a request for sponsors and general continuation of this specific topic. Preamble PEP: TBD Title: Null Literal Unpacking Author: Peter Gessler Discussions-To: Pending Status: Draft Type: Standards Track Python-Version: TBD Post-History: Abstract We propose allowing a bare * to contribute no elements when constructing a tuple, list, or set: tuple_ = *, set_ = {*} list_ = [*] A retained null ent...
0 comments
No comments yet.