Double underscore inside a class method in Python

前端 未结 0 488
谎友^
谎友^ 2020-12-04 04:16

I have this code:

class TextProcessor:
      def __init__(self, text):
        self.text = text
      def UniqWords(self):
        return set(self.__text.spli         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题