Last active
December 26, 2019 17:19
-
-
Save kunigami/f29d41a27eac17932a7b12be1865e358 to your computer and use it in GitHub Desktop.
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
class Parametrized(Generic[T]): | |
value: T | |
def __init__(self, value: T) -> None: | |
self.value = value | |
def getValue(self) -> T: | |
return self.value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment