/usr/lib/python3/dist-packages/invoke/vendor/fluidity/backwardscompat.py is in python3-invoke 0.11.1+dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | import sys
if sys.version_info >= (3,):
def callable(obj):
return hasattr(obj, '__call__')
else:
callable = callable
|