/usr/share/pyshared/grokcore/component/tests/api.txt is in python-grokcore.component 2.5-0ubuntu1.
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 | The grokcore.component API
==========================
The grokcore.component API is described by the
``grokcore.component.interfaces.IGrokcoreComponentAPI`` interface.
When you do
>>> from grokcore.component import *
only those objects described in that API interface are imported into
your local namespace. In other words, if we take the list of things
that have been imported and subtract the things that have been defined
in the API interface, we'll end with pretty much nothing:
>>> from grokcore.component.interfaces import IGrokcoreComponentAPI
>>> sorted(set(locals()) - set(IGrokcoreComponentAPI))
['IGrokcoreComponentAPI', '__builtins__', '__file__']
|