Opened 3 years ago

#4982 defect new

Tag.__call__ docstring talks about registering flattens and flatteners

Reported by: exarkun Owned by:
Priority: normal Milestone:
Component: web Keywords: documentation
Cc: jknight Branch:
Author: Launchpad Bug:

Description

Twice it talks about some sort of registration mechanism:

        Children may be other tag instances, strings, functions, or any other
        object which has a registered flatten.

        Attributes may be 'transparent' tag instances (so that
        C{a(href=transparent(data="foo", render=myhrefrenderer))} works),
        strings, functions, or any other object which has a registered
        flattener.

I think this code should be talking about objects that provide IRenderable instead.

Change History (1)

comment:1 Changed 3 years ago by DefaultCC Plugin

  • Cc jknight added
Note: See TracTickets for help on using tickets.