7s9n / pyraylib

Python Object Oriented Wrapper for raylib
https://github.com/Ho011/pyraylib
zlib License
18 stars 4 forks source link

Making it work on python3.10 #3

Closed karen-pal closed 2 years ago

karen-pal commented 2 years ago

Changes:

Closes #2

7s9n commented 2 years ago

Hi @karen-pal , I think you should consider backward compatibility. please edit your code something like:

try:
    from collections.abc import Iterable
except ImportError:
    from collections import Iterable

or correct me if i'm wrong.

karen-pal commented 2 years ago

@Ho011 Yes, you are right! just added your code block!