summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2012-08-29 03:58:15 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2012-08-29 03:58:15 -0500
commit8a84c03105c35766831c24c611520cd43ae5ad10 (patch)
tree0f42ef4991286b47e9de49cd502b72f12b8fbe96
parent035a956f205f10cbd4144c6bd005f912705202c8 (diff)
downloadkeystone-8a84c03105c35766831c24c611520cd43ae5ad10.tar.gz
keystone-8a84c03105c35766831c24c611520cd43ae5ad10.tar.xz
keystone-8a84c03105c35766831c24c611520cd43ae5ad10.zip
HACKING: Import by full module path
Change-Id: I7cc2cc956c1b26b9ebc8a339796f5578f1d1cf91
-rw-r--r--HACKING.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/HACKING.rst b/HACKING.rst
index da11ca19..1eaac918 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -48,18 +48,18 @@ Imports
Example::
# vim: tabstop=4 shiftwidth=4 softtabstop=4
- {{stdlib imports in human alphabetical order}}
+ {{stdlib imports ordered by full module path}}
\n
- {{third-party lib imports in human alphabetical order}}
+ {{third-party lib imports ordered by full module path}}
\n
- {{nova imports in human alphabetical order}}
+ {{nova imports ordered by full module path}}
\n
\n
{{begin your code}}
-Human Alphabetical Order Examples
----------------------------------
+Import by Full Module Path Examples
+-----------------------------------
Example::
@@ -73,14 +73,14 @@ Example::
import eventlet
import webob.exc
- from nova import test
- from nova import utils
+ import nova.api.ec2
from nova.api import openstack
from nova.auth import ldap
from nova.auth import users
from nova.endpoint import cloud
import nova.flags
- import nova.api.ec2
+ from nova import test
+ from nova import utils
Docstrings