Skip to content

Instantly share code, notes, and snippets.

Eivind fleskesvor

Block or report user

Report or block fleskesvor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
def hello():
print "Hello, World!"
def main():
my_list = [("This is what I want to check for", hello),
("But it will also validate built-ins", isinstance),
["Let's use an array for good measure", lambda x: x]]
# my_list = ["Must be 'list' or 'tuple', so this raises an error"]
You can’t perform that action at this time.