property.basic

    0

    22

    hoangNTB

    __

    The following code defines a property named "page" on the "Self" instance. The property returns the value of the "page" instance variable.

    Shortcut: create.property

    @property
    def page(self):
      return self.__page
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.