diff options
Diffstat (limited to 'src/zope/traversing/api.py')
-rw-r--r-- | src/zope/traversing/api.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/zope/traversing/api.py b/src/zope/traversing/api.py index b457e33..71feb3e 100644 --- a/src/zope/traversing/api.py +++ b/src/zope/traversing/api.py @@ -17,9 +17,14 @@ Convenience functions for traversing the object tree. This module provides :class:`zope.traversing.interfaces.ITraversalAPI` """ import six + from zope.interface import moduleProvides -from zope.location.interfaces import ILocationInfo, IRoot -from zope.traversing.interfaces import ITraversalAPI, ITraverser +from zope.location.interfaces import ILocationInfo +from zope.location.interfaces import IRoot + +from zope.traversing.interfaces import ITraversalAPI +from zope.traversing.interfaces import ITraverser + # The authoritative documentation for these functions # is in this interface. Later, we replace all our docstrings @@ -204,6 +209,7 @@ def canonicalPath(path_or_object): # import this down here to avoid circular imports from zope.traversing.adapters import traversePathElement + # Synchronize the documentation. for name in ITraversalAPI.names(): if name in globals(): |