[issue36574] Error with self in python
Joan Tomas (Tommy) Pujol Muñoz
report at bugs.python.org
Tue Apr 9 13:43:34 EDT 2019
Joan Tomas (Tommy) Pujol Muñoz <tommy at pujol.cf> added the comment:
The python file.
It works in Linux (Ubuntu) but not in Windows; at least for me.
The output error is :
Traceback (most recent call last):
File "pySelf.py", line 8, in <module>
print(Person.__init__("Some","One",21,"American"))
TypeError: __init__() missing 1 required positional argument: 'nationality'
----------
Added file: https://bugs.python.org/file48257/pySelf.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36574>
_______________________________________
More information about the Python-bugs-list
mailing list