Move some functions to standard library

This commit is contained in:
Bartłomiej Pluta
2019-07-13 10:21:08 +02:00
parent a68f870037
commit 4f2058eaac
15 changed files with 63 additions and 90 deletions

View File

@@ -51,7 +51,7 @@ class Type(Enum):
"pitch": Type.string(str(value.note)),
"octave": Type.integer(value.octave),
"duration": Type.integer(value.duration),
"dot": Type.string('.' if value.dot else '')
"dot": Type.bool(value.dot)
})
@staticmethod