Code has been added to clipboard!

Instantiating a Python Class Object

Example
class Example:
  "A basic example class that returns a function object"
  def b(self):
    return "this is an example class"

c = Example()