Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Sep 23, 2023
1 parent 5bc4583 commit d56a858
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions auto_editor/lang/palet.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import cmath
import math
import random
from dataclasses import dataclass
from difflib import get_close_matches
from fractions import Fraction
Expand Down Expand Up @@ -681,13 +680,6 @@ def vector_extend(vec: list, *more_vecs: list) -> None:
vec.extend(more)


def randrange(*args: int) -> int:
try:
return random.randrange(*args)
except ValueError:
raise MyError("randrange: got empty range")


def palet_map(proc: Proc, seq: str | list | range | NDArray) -> Any:
if type(seq) is str:
return str(map(proc.proc, seq))
Expand Down

0 comments on commit d56a858

Please sign in to comment.