擅长:python、mysql、java
<p>线路</p>
<pre><code>Patent.__init__(self, CC, PN, KC="")
</code></pre>
<p>应该是</p>
<pre><code>Patent.__init__(self, CC, PN, KC)
</code></pre>
<p>前者使用关键字样式参数语法将名为“KC”的参数设置为值<code>""</code>(空字符串)。您想要的是传递变量<code>KC</code>的值。你知道吗</p>