New submission from Joan Tomas (Tommy) Pujol Muñoz <to...@pujol.cf>:

I try to use self with the __init__ function in a class, but when I enter the 
other values e.g. def __init__(self, name): self.name = name /// and when I 
call the class with a name it says that it need another value because it uses 
self an another value. It happened when I was using Windows 10, but normally I 
use Linux.

----------
files: pySelf.cmd
messages: 339746
nosy: tommypm
priority: normal
severity: normal
status: open
title: Error with self in python
type: behavior
versions: Python 3.6
Added file: https://bugs.python.org/file48252/pySelf.cmd

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36574>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to