3 ms·
I doubt it. How could anyone refactor something like this in Python getattr(myobj, 'myprop', None) Where mypropis dynamically generated?
by est 14y ago
I doubt it.
How could anyone refactor something like this in Python
getattr(myobj, 'myprop', None)
Where mypropis dynamically generated?
- eru 14y agoWhat do you mean by refactoring a single line?