Created
May 28, 2018 22:13
-
-
Save mikaeilorfanian/1adc93e3a879ecaf7fdfea928d816701 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 Vehicle: | |
def drive(self, destination: str) -> None: | |
pass | |
def start(self) -> bool: | |
pass | |
class Car: | |
def drive(self, destination: str) -> None: # required for Vehicle type | |
pass | |
def start(self) -> bool: # required for vehicle type | |
pass | |
def __iter__(self): # required for Iterator type | |
pass | |
def __next__(self): # required for Iterator type | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment