PukiWiki


クラス定義

_ Python

class MyClass:
    """A simple example class"""
    i = 12345
    def f(self):
        return 'hello world'
 
Link: MenuBar(151d)
Last-modified: 2017-07-19 (水) 22:33:28 (151d)