Created
May 11, 2016 12:01
-
-
Save sivabudh/891c401a90ba39f326accef265b56f85 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 Person: | |
def __init__(self, kargs, tup, *argv, **kwargs): | |
import pdb; | |
pdb.set_trace() | |
self.name = kwargs['name'] | |
self.shirt_size = kwargs['shirt_size'] | |
def __str__(self): | |
return "{} -> {}".format(self.name, self.shirt_size) | |
p1 = Person({}, {}, 3, 2, 1, name="Ju", shirt_size="S") | |
args = { | |
"name": "Pac", | |
"shirt_size": "XL", | |
} | |
print(p1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment