nvbn / py-backwards

Python to python compiler that allows you to use Python 3.6 features in older versions.
306 stars 17 forks source link

Support for converting keyword only arguments #41

Open mitar opened 7 years ago

mitar commented 7 years ago

See: #16

There is no perfect way to convert those. This pull requests reorders arguments which might not be OK for some. But if you used keyword arguments for all arguments when calling, then this will continue to work in Python 2.7.