PukiWiki


クラス定義

_ Python

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