什么是会员功能?

时间:2018-05-09 05:19:40

标签: python function class

我正在执行一项说明“该类还必须具有成员函数才能执行以下任务的任务

当它表示成员函数时,它意味着:

class Example():

   def __init__(self,example):
      self.__example

   def function(self,example):
      #Is this a member function?

0 个答案:

没有答案