Ciro Santilli OurBigBook.com  Sponsor 中国独裁统治 China Dictatorship 新疆改造中心、六四事件、法轮功、郝海东、709大抓捕、2015巴拿马文件 邓家贵、低端人口、西藏骚乱
python/sphinx/class/main.py
#!/usr/bin/env python

class Base:
    '''
    doc
    '''

    def __init__(self, i: int):
        '''
        doc
        '''
        #: my doc for i
        self.i: int = i
        #: my doc for __private
        self.__private: int = 1

    def method(self, i: int) -> int:
        '''
        doc
        '''
        return i + 1

    def __getelem__(self, i: int) -> int:
        '''
        doc
        '''
        return i + 1

    def __private(self, i: int) -> int:
        '''
        doc
        '''
        return i + 1

    def private_no_underscore(self, i: int) -> int:
        '''
        doc

        :meta private:
        '''
        return i + 1