Skip to content

Instantly share code, notes, and snippets.

@anaved
Created July 12, 2017 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anaved/4728099bffd5ee642e2e95f4c4124ded to your computer and use it in GitHub Desktop.
Save anaved/4728099bffd5ee642e2e95f4c4124ded to your computer and use it in GitHub Desktop.
Example of how to declare a constant using a property
class MyFinalProperty(object):
@property
def name(self):
return "John"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment