/usr/share/doc/pyro/examples/inheritance/server.py is in pyro-examples 1:3.14-1.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 12 13 14 15 16 17 18 19 | #!/usr/bin/env python
import sys, os
sys.path.insert(0,os.pardir) # to find testserver.py
import testserver
import Pyro.core
import inherit
######## testclass object
class testclass(Pyro.core.ObjBase, inherit.Fsub):
def __init__(self):
Pyro.core.ObjBase.__init__(self)
######## main program
testserver.start(testclass, 'inheritance')
|