Skip to content

Commit

Permalink
chore: remove main stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
eturino committed Jul 29, 2021
1 parent f07b3fd commit 771b422
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions key_set/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
A module's __name__ is set equal to '__main__' when read from standard input,
a script, or from an interactive prompt.
"""

from key_set.utils import add_two_numbers
from key_set.base import KeySetAll, KeySetAllExceptSome, KeySetNone, KeySetSome

print('Executed from command line...')
print(f'2 + 2 equals {add_two_numbers(2, 2)}')
print(f'all: {KeySetAll()}')
print(f'none: {KeySetNone()}')
print(f'some: {KeySetSome(["A", "B"])}')
print(f'all except some: {KeySetAllExceptSome(["A", "B"])}')

0 comments on commit 771b422

Please sign in to comment.