using classes
Pieter van Oostrum
pieter-l at vanoostrum.org
Thu Mar 12 12:34:14 EDT 2020
joseph pareti <joepareti54 at gmail.com> writes:
> thank you, that fixes it. I also noticed that both statements work:
>
> super(PKW, self).__init__(bez,ge)
>
> or
>
> super().__init__(bez,ge)
The first is the required Python 2 calling (at least the first argument is required). The second way can be used in Python 3.
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
More information about the Python-list
mailing list