mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-10-02 03:47:55 +03:00
Fix a few more optional type errors.
This commit is contained in:
@@ -788,7 +788,7 @@ class BinaryEncoding:
|
||||
else:
|
||||
return None
|
||||
|
||||
def encode(self, tree: Node, encoding: str=None) -> bytes:
|
||||
def encode(self, tree: Node, encoding: Optional[str]=None) -> bytes:
|
||||
"""
|
||||
Given a tree of Node objects, encode the data with the current encoding.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user