mirror of
https://github.com/github/codeql.git
synced 2026-01-08 12:10:22 +01:00
14 lines
224 B
Python
14 lines
224 B
Python
# Example module - finance.py
|
|
|
|
__all__ = ['tax1', 'tax2'] #defines the names to import when '*' is used
|
|
|
|
tax1 = 5
|
|
tax2 = 10
|
|
def cost(): return 'cost'
|
|
|
|
# Imported into code using
|
|
|
|
from finance import *
|
|
|
|
print tax1
|
|
print tax2 |