“`”

<strong>name</strong>:一种约定,python内部的名字,是用来与用户自动以的名字区分开,防止冲突

<pre><code>_name: 一种约定,用来指定变量私有

__name: 解释器用_classname_name来代替这个名字用来区别和其他类相同的命名
</code></pre>

<pre><code> "“`

Was this helpful?

0 / 0

发表回复 0

Your email address will not be published.