-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove dead to_int function
- Loading branch information
1 parent
a363deb
commit 8cbd199
Showing
2 changed files
with
1 addition
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
from typing import Sequence | ||
|
||
|
||
def split_bytes(byte_str: bytes) -> list[bytes]: | ||
return byte_str.split(b' ') if byte_str else [] | ||
|
||
|
||
def to_int(collection: Sequence) -> list[int]: | ||
return [int(item) for item in collection] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters