JaWeilBaum / pyqtlet2

pyqtlet2 extends pyqtlet which initially brought Leaflet maps to PyQt5 and PySide6.
Other
37 stars 19 forks source link

Make library compatible with Python versions < 3.9 #22

Closed JuanPotato closed 2 years ago

JuanPotato commented 2 years ago

using list[float] instead of List[float] was introduced in python 3.9. This change allows the library to work in python 3.8 and prior. I believe this is the only instance.

Remade PR because the previous one was on my master branch.

JaWeilBaum commented 2 years ago

Thanks for the contribution @JuanPotato I'll try to have a look in the next couple of days to approve the PR! This one seems quite simple to approve