source:
java2python/core/test/testcode/Static.py@
458
Last change on this file since 458 was 458, checked in by , 18 months ago | |
---|---|
File size: 266 bytes |
Line | |
---|---|
1 | import sys |
2 | from typing import List |
3 | |
4 | |
5 | class Static: |
6 | |
7 | OK:str = "OK" |
8 | @staticmethod |
9 | def __f() -> str: |
10 | return Static.OK |
11 | @staticmethod |
12 | def main(args:List[str]) -> None: |
13 | sys.stdout.write(Static.__f()+'\n') |
14 | |
15 | if __name__ == "__main__": |
16 | Static.main(sys.argv[1:]) |
Note:
See TracBrowser
for help on using the repository browser.