Movatterモバイル変換


[0]ホーム

URL:


[Python-ideas] Fwd: Define a method or function attribute outside of a class with the dot operator

Paul Moorep.f.moore at gmail.com
Fri Feb 10 09:06:04 EST 2017


On 10 February 2017 at 13:55, Stephan Houben <stephanh42 at gmail.com> wrote:> My point would be that the new syntax *also* requires one to figure out what> the new syntax does.This is an extremely good point. It is mentioned when new syntax isproposed (the term often used is "discoverability") but the idea neverseems to stick, as people keep forgetting to consider it whenproposing new ideas.With this proposal the only thing you can search for is "def", andyou're going to mostly find sites that explain the current syntax. Soanyone looking for understanding of the new construct will likely endup even more confused after searching than they were before.Markus - if you do write up a PEP, please make sure this point isnoted and addressed.Paul


More information about the Python-ideasmailing list

[8]ページ先頭

©2009-2026 Movatter.jp