~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/lazr/doc/menus.txt

  • Committer: Steve Kowalik
  • Date: 2011-09-13 05:23:16 UTC
  • mto: This revision was merged to the branch mainline in revision 13939.
  • Revision ID: stevenk@ubuntu.com-20110913052316-hl7fzgsklq9jakwq
Chip away at canonical.lazr a little more.

Show diffs side-by-side

added added

removed removed

Lines of Context:
281
281
    >>> defineChecker(MenuLink, InterfaceChecker(ILink))
282
282
    >>> defineChecker(URI, NamesChecker(dir(URI)))
283
283
 
284
 
    >>> from canonical.lazr.utils import safe_hasattr
 
284
    >>> from lazr.restful.utils import safe_hasattr
285
285
    >>> def summarise_links(menu, url=None, facet=None):
286
286
    ...     """List the links and their attributes."""
287
287
    ...     if url is not None: