Proposal for new minor syntax

Giorgos Tzampanakis giorgos.tzampanakis at gmail.com
Thu Apr 9 00:11:34 CEST 2015


On 2015-03-28, Rustom Mody wrote:

> Dunno if related...
> One thing that is a bit laborious in python are object initializers:
>
>   self.attr1 = field1
>   self.attr2 = field2

Vim's "visual block" feature is your friend in such cases... Pretty sure
that other editors have something equivalent, too. But why would you use
other editors when you can use Vim :-) .




More information about the Python-list mailing list