anijackich / kinescope-dl

Command-line program to download videos from Kinescope.io
The Unlicense
164 stars 23 forks source link

In newer versions of python, a simplified syntax is more preferred. #4

Closed ic-it closed 1 year ago

ic-it commented 1 year ago

https://github.com/anijackich/kinescope-dl/blob/043da13cdb5b089cb68f03279e6070db25e5f117/kinescope/downloader.py#L21

Old:

def test(var1: str, var2: Optional[str], var3: Union[str, int]) -> None: ...

New:

def test(var1: str, var2: str | None, var3: str | int) -> None: ...