diff options
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r-- | CONTRIBUTING.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index c0d80749f..95a32ef10 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -572,11 +572,11 @@ Module imports inside BuildStream are done with relative ``.`` notation **Good**:: - from .context import Context + from ._context import Context **Bad**:: - from buildstream.context import Context + from buildstream._context import Context The exception to the above rule is when authoring plugins, plugins do not reside in the same namespace so they must |