/usr/lib/python3/dist-packages/icalendar/compat.py is in python3-icalendar 3.8-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 8 9 10 11 | import sys
if sys.version_info[0] == 2: # pragma: no cover
unicode_type = unicode
bytes_type = str
iteritems = lambda d, *args, **kwargs: iter(d.iteritems(*args, **kwargs))
else: # pragma: no cover
unicode_type = str
bytes_type = bytes
iteritems = lambda d, *args, **kwargs: iter(d.items(*args, **kwargs))
|