Add Bytes

This commit is contained in:
Shunsuke Shibayama 2023-01-16 10:37:08 +09:00
parent ed96ca9420
commit dea05ef6e8
4 changed files with 6 additions and 5 deletions

View file

@ -0,0 +1,3 @@
class Bytes(bytes):
def try_new(*b): # -> Result[Nat]
return Bytes(bytes(*b))