search

Home  >  Q&A  >  body text

Does a member function without a self parameter mean it has become private?

class Test:                                                                                                                                                                                                                                                                                                   Test. foo()

Run result

>>> c = Test()

>>> c.hello()

hello fishc

手机用户1583139957手机用户15831399571790 days ago1131

reply all(0)I'll reply

No reply
  • Cancelreply