fedora-python / python-ethtool

Deprecated Python bindings for the ethtool kernel interface
GNU General Public License v2.0
15 stars 13 forks source link

Consolidate the way of returning None #39

Closed frenzymadness closed 6 years ago

frenzymadness commented 6 years ago

It would be nice to use only one way of returning None. Py_INCREF(Py_None); + return Py_None; or shorter Py_RETURN_NONE;