<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>1.Provide suport for <i>class method/static method/instance method </i>by using <i>self</i> and <i>cls</i> keywords</div><div> Define <i>class method</i> by the first argument <i>cls</i>, cancel the <i>@classmethod</i>, like : <i> def classInfo(cls):pass</i></div>
<div> Define <i>instance method</i> by the first argument <i>self</i>, like : <i>def save(self):pass</i></div><div> Define <i>static method</i> by none special argument, cancel the <i>@staticmethod</i>, like : <i>def getInstance():pass</i></div><div>2.Cancel <i>property</i> statement, use a new keyword <i>ppt</i> to define properties, like :</div><div><i> ppt Name():</i></div><div><i> def get():</i></div><div><i> pass</i></div><div><i> def set(value):</i></div><div><i> pass</i></div><div><i> def del():</i></div><div><i> pass</i></div><div>3.Use a new keyword <i>base</i> to replace the function <i>super()</i>.</div><hr style="WIDTH: 210px; HEIGHT: 1px" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>2657068483@qq.com</div></div></span></div>
</body></html>