Browse Source

Enum

pull/3/head
Jure Šorn 6 years ago
parent
commit
4629cc4efc
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -464,7 +464,7 @@ class <name>:
self.a = a
def __repr__(self):
return str({'a': self.a})
# Use f'{s.__dict__}' for all members.
# Use f'{self.__dict__}' for all members.
def __str__(self):
return str(self.a)

Loading…
Cancel
Save