Skip to content

Instantly share code, notes, and snippets.

@imarban
Created August 22, 2016 05:47
Show Gist options
  • Save imarban/cd881863529518ed5b98934d52112982 to your computer and use it in GitHub Desktop.
Save imarban/cd881863529518ed5b98934d52112982 to your computer and use it in GitHub Desktop.
class Transmission:
pass
class Engine:
pass
class Vehicle:
def __init__(self, engine, transmission):
self.engine = engine
self.transmission = transmission
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment