Universalize zero-argument super
See original GitHub issue File "log_util_hx.py", line 1322, in __init__
super().__init__(message) #213 (line num in coconut source)
TypeError: super() takes at least 1 argument (0 given)
I hope that coconut can automatically handle the problem.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Is it unnecessary to put super() in constructor? - Stack Overflow
If the super class constructor has no arguments Java automatically calls it for you. If it has arguments you'll get an error.
Read more >Using the Keyword super (The Java™ Tutorials > Learning the ...
With super() , the superclass no-argument constructor is called. With super(parameter list) , the superclass constructor with a matching parameter list is ...
Read more >Missing argument to super() - QuantifiedCode
Missing argument to super() ¶. super() enables you to access the methods and members of a parent class without referring to the parent...
Read more >Unsettling the Coloniality of Being/Power/Truth/Freedom
Here, the Argument, basing itself on Fanon's and Bateson's redefinition of the human, proposes that the adaptive truth-for terms in which each.
Read more >Python | super() in single inheritance - GeeksforGeeks
It is worthwhile to note that the zero argument form of super() can only be used inside a class definition as it is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hlizard This is now live on develop—just
pip install -U coconut-develop>=2.0.0-a_dev44
to get the fix.@hlizard Thanks for the bug report—should be fixed now as of
coconut-develop>=2.0.0-a_dev45
.