0

I am a new beginner in computer programming and English is not my first language. When I use Class in python on IDE Pycharm, and it says that method which may safely made static. I don't understand this. Could you tell me what does that mean and how to make the method static? Thank you very much This is my code:

class Ga:
def __init__(self, ha):
    self.ha = ha

def ar(self):
    return ade.ha

The Python inspection occurs in the 5th line under the 'ar', which is:

def ar(self):

(I only have 9 reputation so that I can't post any pictures.)

yuhao han
  • 19
  • 1
  • 2

0 Answers0