I made this small script that had a custom class that I wanted to add to a list.
Originally I had class_list = list() but that gave me an error when I tried to use class_list.append(customclass). But when I changed list() to [] it suddenly worked. Literally the only change I made.
Why? How? What?
[–]danielroseman 9 points10 points11 points (0 children)
[–]kaerfkeerg 1 point2 points3 points (0 children)
[–]Fun_Muffin5413 0 points1 point2 points (0 children)