/usr/share/pyshared/TracMercurial-1.0.0.3dev-nspkg.pth is in trac-mercurial 1.0.0.3+hg8df754d9b36a-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 | import sys,types,os; p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('tracext',)); ie = os.path.exists(os.path.join(p,'__init__.py')); m = not ie and sys.modules.setdefault('tracext',types.ModuleType('tracext')); mp = (m or []) and m.__dict__.setdefault('__path__',[]); (p not in mp) and mp.append(p)
|