Created
April 3, 2024 09:09
-
-
Save pschanely/e0d9777c72b78ed395e6a3b02bcdf9e1 to your computer and use it in GitHub Desktop.
Shared via CrossHair Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collections.abc | |
def contains_key(s: "collections.abc.Set"): | |
"""post: True""" | |
return "key" in s | |
def contains_key2(s: set): | |
"""post: True""" | |
return "key" in s | |
def contains_key3(s: "collections.abc.Collection"): | |
"""post: True""" | |
return "key" in s | |
def contains_key4(s: "collections.abc.Sequence"): | |
"""post: True""" | |
return "key" in s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment