test_interpreter.py
Go to the documentation of this file.
1 from __future__ import annotations
2 
3 import sys
4 
5 from widget_module import Widget
6 
7 
8 class DerivedWidget(Widget):
9  def __init__(self, message):
10  super().__init__(message)
11 
12  def the_answer(self):
13  return 42
14 
15  def argv0(self):
16  return sys.argv[0]
test_interpreter.DerivedWidget.__init__
def __init__(self, message)
Definition: test_interpreter.py:9
test_interpreter.DerivedWidget
Definition: test_interpreter.py:8
test_interpreter.DerivedWidget.the_answer
def the_answer(self)
Definition: test_interpreter.py:12
test_interpreter.DerivedWidget.argv0
def argv0(self)
Definition: test_interpreter.py:15


gtsam
Author(s):
autogenerated on Thu Nov 28 2024 04:07:36