Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ Spam
Class
Spam
recipes/Python/107027_Simple_Collection_class/recipe-107027.py:49–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
return
arg
48
49
class
Spam(Food):
50
def
shout(self, arg1, arg2=
'sausage'
):
51
print
'I AM SPAM AND MY ARGUMENTS ARE %s AND %s'
% (arg1, arg2)
52
return
(arg1, arg2)
53
54
c = Collection()
55
# kind of boring example...
Callers
1
recipe-107027.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected