-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18a0a8f
commit 18aa948
Showing
2 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import fire | ||
|
||
class D: | ||
def __init__(self,cool,**kw): | ||
for e in kw: | ||
print(e,cool) | ||
self.cool=cool | ||
def shit(self,sh,jp): | ||
print(sh,jp) | ||
def oye(self,oy): | ||
print(oy) | ||
def job(self,low): | ||
print(low) | ||
class A(D): | ||
|
||
def __init__(self, name,**kw): | ||
super().__init__(**kw) | ||
self.name = name | ||
|
||
def gob(self,lobby): | ||
self.lobby=lobby | ||
|
||
def girl(self,rob): | ||
print(rob) | ||
|
||
def __str__(self): | ||
return self.name | ||
|
||
def strange(self,kk): | ||
print(kk) | ||
|
||
class B(A): | ||
|
||
def __init__(self, number, **kw): | ||
super().__init__(**kw) | ||
self.number = number | ||
def boy(self,champ): | ||
print(champ) | ||
def lol(self,gol): | ||
print(gol) | ||
def __call__(self): | ||
print(f"{self.name} + {self.number}+{self.cool}+{self.lobby}") | ||
|
||
|
||
if __name__ == "__main__": | ||
fire.Fire(B) |