Python Forum
[PyGame] object has no attribute 'add_internal'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] object has no attribute 'add_internal'
#8
We don't need to guess:
>>> class Base:
...   def __init__(self, arg):
...     print(f"Base class __init__: {arg}")
...
>>> class Child(Base):
...   def __init__(self):
...     print("child __init__")
...     super().__init__(42)
...
>>> x = Child()
child __init__
Base class __init__: 42
Anyway, what's your code currently look like? What's the error you're currently getting? There's been a few changes so far, and I've lost track of where we are.
Reply


Messages In This Thread
RE: object has no attribute 'add_internal' - by nilamo - Feb-26-2021, 05:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Attribute Error: object has no attribute djwilson0495 3 4,793 Jan-14-2021, 08:29 PM
Last Post: Larz60+
  beginner - object has no attribute gean 2 3,870 Nov-07-2019, 02:02 PM
Last Post: gean
  Tetris - AttributeError: 'list' object has no attribute 'y' abscorpy 6 6,829 Feb-28-2019, 05:20 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020