Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
135002a0
Commit
135002a0
authored
Feb 22, 2014
by
Paul Sokolovsky
Browse files
Add basic super() test.
parent
20773971
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/basics/class-super.py
0 → 100644
View file @
135002a0
class
Base
:
def
meth
(
self
):
print
(
"in Base meth"
)
class
Sub
(
Base
):
def
meth
(
self
):
print
(
"in Sub meth"
)
return
super
().
meth
()
a
=
Sub
()
a
.
meth
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment