-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test project] Even more cases on symbol resolution of superclasses
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class AbstractAnimal: | ||
name = "" |
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
from moduleAtRoot9 import AbstractAnimal | ||
|
||
rootPackageVariable = 33 | ||
|
||
|
||
def function_with_common_name(): | ||
return False | ||
|
||
|
||
class Animal: | ||
name = "" | ||
class Animal(AbstractAnimal): | ||
|
||
def eat(self): | ||
print("I can eat") |