不含self參數的成員函數是不是表示變成私有的了
手机用户1583139957
手机用户1583139957 2020-04-03 00:47:48
0
0
1037

class Test:    

            def foo():       

                def hello(self):        

            foo()

運行結果

>>> c = Test()

>>> c.hello()

#hello fishc

手机用户1583139957
手机用户1583139957

全部回覆(0)
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!