Module Import alias Import alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad ClassDef bases NameLoad body Assign NameStore Call NameLoad keyword ListLoad Str Str Assign NameStore Call NameLoad keyword ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list Assign NameStore Call NameLoad keyword Call NameLoad keyword AttributeLoad NameLoad attr keyword BinOpAdd AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Expr Str FunctionDef arguments args NameParam defaults kwarg body Expr Str If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Dict NameLoad NameLoad NameLoad NameLoad Dict Dict Dict NameLoad NameLoad ListLoad ListLoad TupleLoad Str Str TupleLoad Str Str NameLoad body Expr Str If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign TupleStore SubscriptStore NameLoad Index NameLoad SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign TupleStore SubscriptStore NameLoad Index NameLoad SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign TupleStore SubscriptStore NameLoad Index NameLoad SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore BoolOpOr BoolOpAnd CompareIs NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore BinOpAdd BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad Str ClassDef bases NameLoad body Assign NameStore Call NameLoad Str Str keyword NameLoad Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str keyword NameLoad Assign NameStore Call NameLoad BoolOpOr BoolOpAnd NameLoad Str Str ListLoad Str Str Assign NameStore Call NameLoad keyword Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str ListLoad Str Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str TupleLoad Str Str keyword Str keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Str TupleLoad Str Str keyword Str keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str Str keyword Str Assign NameStore Call NameLoad Str Str keyword Str Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr BinOpAdd ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Str decorator_list NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Dict Dict NameLoad kwarg body Expr Str Assign NameStore Call NameLoad keyword NameLoad NameLoad ClassDef bases NameLoad body Assign NameStore Call NameLoad Str Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str keyword Str Assign NameStore Call NameLoad Str Str keyword Str Assign NameStore Call NameLoad Str TupleLoad Str Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Str TupleLoad Str Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Str TupleLoad Str Str keyword NameLoad keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Num TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list FunctionDef arguments args defaults body Import alias Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A warnings N/A string keyword elements * core ArgParser creepy10_base N/A N/A N/A N/A N/A Returns a dialect object (a class) to be used by :class:`~creoleparser.core.ArgParser`


    **How it Works**

    The "Creepy" dialect uses a syntax that can look much like that of
    attribute definition in xml. The most important differences are that
    positional arguments are allowed and quoting is optional.

    A Creepy dialect object is normally passed to
    :class:`~creoleparser.core.ArgParser` to create a new parser object.
    When called with a single argument, this outputs a two-tuple
    (a list of positional arguments and a dictionary of keyword arguments):

    >>> from core import ArgParser
    >>> my_parser = ArgParser(dialect=creepy10_base(), convert_implicit_lists=False)
    >>> my_parser(" foo='one' ")
    ([], {'foo': 'one'})
    >>> my_parser("  'one' ")
    (['one'], {})
    >>> my_parser("  'one' foo='two' ")
    (['one'], {'foo': 'two'})

    Positional arguments must come before keyword arguments. If they occur
    after a keyword argument, they will be combined with that value as a list:
    
    >>> my_parser("  foo='one' 'two' ")
    ([], {'foo': ['one', 'two']})

    Similarly, if two or more keywords are the same, the values will be combined
    into a list:

    >>> my_parser("  foo='one' foo='two' ")
    ([], {'foo': ['one', 'two']})

    The lists above are known as "Implicit" lists. They can automatically be
    converted to strings by setting ``convert_implicit_lists=True`` in the
    parser.

    Quotes can be single or double:
    
    >>> my_parser(''' foo="it's okay" ''')
    ([], {'foo': "it's okay"})

    Tildes can be used for escaping:

    >>> my_parser(''' foo='it~'s okay' ''')
    ([], {'foo': "it's okay"})
    
    Quotes are optional if an argument value doesn't contain spaces or
    unescaped special characters:
    
    >>> my_parser("  one foo = two ")
    (['one'], {'foo': 'two'})

    Keyword arguments lacking a value will be interpreted as an empty string:

    >>> my_parser(" '' foo=  boo= '' ")
    ([''], {'foo': '', 'boo': ''})

     Base N/A ArgDialect N/A N/A kw_arg N/A KeywordArg token = N/A quoted_arg N/A QuotedArg token '" N/A spaces N/A WhiteSpace __init__ N/A N/A self N/A N/A N/A N/A N/A self kw_arg child_elements N/A N/A self spaces N/A N/A N/A self quoted_arg child_elements N/A N/A N/A N/A self spaces child_elements N/A N/A top_elements N/A N/A self N/A N/A N/A N/A N/A self quoted_arg N/A self kw_arg N/A self spaces N/A property N/A N/A Base N/A creepy20_base N/A N/A N/A N/A N/A Extends creepy10_base to support an explicit list argument syntax.

    >>> from core import ArgParser
    >>> my_parser = ArgParser(dialect=creepy20_base(),convert_implicit_lists=False)
    >>> my_parser(" one [two three] foo=['four' 'five'] ")
    (['one', ['two', 'three']], {'foo': ['four', 'five']})

    You can test if a list is explicit by testing its class:

    >>> from core import ImplicitList
    >>> pos, kw = my_parser("  foo=['one' 'two'] boo = 'three' 'four'")
    >>> print kw
    {'foo': ['one', 'two'], 'boo': ['three', 'four']}
    >>> isinstance(kw['foo'], ImplicitList)
    False
    >>> isinstance(kw['boo'], ImplicitList)
    True
    
    Lists of length zero or one are **never** of type ImplicitList.

     N/A Creepy10Base N/A creepy10_base Base N/A Creepy10Base N/A N/A list_arg N/A ListArg token N/A [ ] N/A explicit_list_arg N/A ExplicitListArg token N/A [ ] __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super Base self __init__ N/A N/A N/A self kw_arg child_elements N/A N/A self explicit_list_arg N/A self spaces N/A N/A N/A self list_arg child_elements N/A N/A self spaces N/A N/A N/A self explicit_list_arg child_elements N/A N/A self spaces N/A top_elements N/A N/A self N/A N/A N/A N/A N/A self quoted_arg N/A self kw_arg N/A self list_arg N/A self spaces N/A property N/A N/A Base N/A ArgDialect N/A object N/A N/A Base class for argument string dialect objects. N/A N/A N/A parse_args N/A ArgParser dialect N/A creepy10_base key_func N/A string lower illegal_keys N/A N/A keyword kwlist N/A macro_name arg_string body isblock environ macro N/A Function for parsing macro arg_strings using a relaxed xml style create_dialect N/A N/A dialect_base N/A kw_args N/A N/A Factory function for dialect objects (for parameter defaults,
    see :func:`~creoleparser.dialects.creole10_base` and/or
    :func:`~creoleparser.dialects.creole11_base`)

    :parameters:
      add_heading_ids
        If `True`, user friendly, lowercase, unique, id attributes will be
        automatically added to headings. To prevent clashes with other page
        ids, all will be prefixed with a "!". This prefix may be changed by
        passing a string rather than a boolean. *``environ`` needs to be a
        dicionary-like object for this to function*
        (see :meth:`creoleparser.core.Parser.parse`) and a key named `ids`
        will be added.
      argument_parser
        Parser used for automatic parsing of macro arg strings. Must take a
        single string argument and return a two-tuple with the first element
        a list (for positional arguments) and the second a dictionary (for
        keyword arguments). A default is supplied. Individual macros may
        override this parser by providing their own as a function attribute
        named `arg_parser`.
      blog_style_endings
        If `True`, each newline character in a paragraph will be converted to
        a <br />. Note that the escaping mechanism (tilde) does not work
        for newlines.
      bodied_macros
        Dictionary of macros (functions). If a bodied macro is found that is not
        in this dictionary, ``macro_func`` (below) will be called instead. Each
        function must accept the following positional arguments:

        1. macro object. This dictionary-like object has attributes
           ``macro_name``, ``body``,
           ``isblock``, and ``arg_string`` (see ``macro_func`` (below) for more
           information). Additionally, the macro object has a ``parsed_body()``
           method, that will return the parsed ``macro.body`` as a
           genshi.Fragment. ``parsed_body()`` takes an optional ``context``
           argument, that defaults to `auto`, see :meth:`creoleparser.core.Parser.parse`
           for other possible values.
        2. the `environ` object (see :meth:`creoleparser.core.Parser.parse`)

        If the found macro includes arguments, they will be included in
        the function call. Creoleparser will handle exceptions by returning an
        error message in place of the macro (possibly including a traceback).
        Python's syntax for accepting arbitrary arguments is often used for
        macros (e.g.,def mymacro(macro, env, \*pos, \**kw)).   

        For information on return values, see macro_func (below).
      non_bodied_macros
        Same as ``bodied_macros`` but used for non-bodied macros.        
      custom_markup
        List of tuples that can each define arbitrary custom wiki markup such
        as WikiWords and emoticons. Each tuple must have two elements,
        as follows:

        1. Compiled regular expression or string (*not* an re pattern) to match.
        2. Function that takes two postional arguments, as follows:

           1. the match object
           2. the `environ` object (see :meth:`creoleparser.core.Parser.parse`)

           The function must return a Genshi object (Stream, Markup,
           builder.Fragment, or builder.Element). Returning a string will
           raise an error.

        As a shortcut for simple cases, the second tuple element may be
        a string rather than a function. The string will be wrapped in a Markup
        object (to allow pass-through of HTML) and a Fragment object (to prevent
        Creoleparser from creating a new paragraph). 
      dialect_base
        The class factory to use for creating the dialect object.
        ``creoleparser.dialects.creole10_base`` and  
        ``creoleparser.dialects.creole11_base`` are possible values.
      disable_external_content
        If True, an error message will be inserted when an externally
        hosted image is found.
      external_links_class
        Class attribute to add to external links (i.e., not wiki or interwiki
        links).
      indent_class
        Class attribute to add to indented regions.
      indent_style
        Style attribute to add to indented regions.
      interwiki_links_base_urls
        Dictionary of urls for interwiki links. Works like
        ``wiki_links_base_url``.
      interwiki_links_class_funcs
        Dictionary of functions that will be called for interwiki link
        names and return class attributes. Works like
        ``wiki_links_class_func``.
      interwiki_links_path_funcs
        Dictionary of functions that will be called for interwiki link
        names and return url paths. Works like ``wiki_links_path_func``.
      interwiki_links_space_chars
        Dictionary of characters that that will be used to replace spaces
        that occur in interwiki_links. Works like ``wiki_links_space_char``.
        If no key is present for an interwiki name, the
        ``wiki_links_space_char`` will be used. 
      macro_func
        If supplied, this fuction will be called when macro markup is found,
        unless the macro is in one of macro dictionaries above. The
        function must accept the following postional arguments:
        
        1. macro name (string)
        2. the argument, including any delimter (string)
        3. the macro body (string or None for a macro without a body)
        4. macro type (boolean, True for block macros, False for normal macros)
        5. the `environ` object (see :meth:`creoleparser.core.Parser.parse`)
        
        The function may return a string (which will be subject to further wiki
        processing) or a Genshi object (Stream, Markup, builder.Fragment, or
        builder.Element). If None is
        returned, the markup will be rendered unchanged.
      no_wiki_monospace
        If `False`, inline no_wiki will be rendered as <span> not <code>
      simple_markup
        List of tuples that each define markup such as `strong` and `em`
        that can nest. Each tuple must have two elements, as follows:

        1. String to match start and end of text to be enclosed. 
        2. HTML tag

      wiki_links_base_url
        The page name found in wiki links will be smartly appended to this to
        form the href. To use a different base url for images, supply a two
        element list; the second element will be used.
      wiki_links_class_func
        If supplied, this fuction will be called when a wiki link is found and
        the return value (should be a string) will be added as a class attribute
        of the corresponding link. The function must accept the page name (any
        spaces will have been replaced) as it's only argument.
        If no class attribute is to be added, return `None`.
      wiki_links_path_func
        If supplied, this fuction will be called when a wiki link is found and
        the return value (should be a string) will be joined to the base_url
        to form the url for href. The function must accept the page name (any
        spaces will have been replaced) as it's only argument. Special characters
        should be url encoded. To use a different function for images, supply a
        two element list; the second element will be used.
      wiki_links_space_char
        When wiki_links have spaces, this character replaces those spaces in
        the url. To use a different character for images, supply a two element
        list; the second element will be used.
 
     N/A N/A interwiki_links_funcs kw_args N/A N/A N/A N/A warnings warn 
The "interwiki_links_funcs" parameter has been renamed
to "interwiki_links_path_funcs"
 N/A N/A N/A kw_args setdefault interwiki_links_path_funcs N/A N/A kw_args pop interwiki_links_funcs N/A N/A dialect_base kw_args N/A creole10_base N/A N/A wiki_links_base_url wiki_links_space_char interwiki_links_base_urls no_wiki_monospace wiki_links_class_func external_links_class wiki_links_path_func interwiki_links_path_funcs interwiki_links_class_funcs interwiki_links_space_chars blog_style_endings disable_external_content custom_markup simple_markup add_heading_ids N/A _ N/A True None None None N/A N/A N/A False False N/A N/A N/A ** strong N/A // em False N/A N/A Returns a base class for extending
    (for parameter descriptions, see :func:`~creoleparser.dialects.create_dialect`)

    The returned class does not implement any of the proposed additions to
    to Creole 1.0 specification.

     N/A N/A isinstance wiki_links_base_url N/A list tuple N/A N/A N/A wiki_links_base_url embed_base_url wiki_links_base_url N/A N/A embed_base_url wiki_links_base_url N/A N/A isinstance wiki_links_path_func N/A list tuple N/A N/A N/A wiki_links_path_func embed_path_func wiki_links_path_func N/A N/A embed_path_func wiki_links_path_func N/A N/A isinstance wiki_links_space_char N/A list tuple N/A N/A N/A wiki_links_space_char embed_space_char wiki_links_space_char N/A N/A embed_space_char wiki_links_space_char N/A embed_interwiki_base_urls N/A N/A N/A k v N/A N/A interwiki_links_base_urls items N/A N/A N/A isinstance v N/A list tuple N/A N/A N/A N/A interwiki_links_base_urls N/A k N/A embed_interwiki_base_urls N/A k v N/A N/A N/A embed_interwiki_base_urls N/A k v N/A embed_interwiki_path_funcs N/A N/A N/A k v N/A N/A interwiki_links_path_funcs items N/A N/A N/A isinstance v N/A list tuple N/A N/A N/A N/A interwiki_links_path_funcs N/A k N/A embed_interwiki_path_funcs N/A k v N/A N/A N/A embed_interwiki_path_funcs N/A k v N/A embed_interwiki_space_chars N/A N/A N/A k v N/A N/A interwiki_links_space_chars items N/A N/A N/A isinstance v N/A list tuple N/A N/A N/A N/A interwiki_links_space_chars N/A k N/A embed_interwiki_space_chars N/A k v N/A N/A N/A embed_interwiki_space_chars N/A k v N/A id_prefix N/A N/A N/A add_heading_ids True ! add_heading_ids N/A N/A id_prefix False N/A N/A fragment_pattern None N/A N/A fragment_pattern N/A N/A # N/A N/A re escape id_prefix [a-z0-9-_]+ Base N/A Dialect N/A N/A br N/A LineBreak br \\ blog_style blog_style_endings N/A headings N/A Heading N/A h1 h2 h3 h4 h5 h6 = id_prefix id_prefix N/A no_wiki N/A NoWikiElement N/A N/A no_wiki_monospace code span N/A {{{ }}} N/A simple_element N/A SimpleElement token_dict N/A dict simple_markup N/A hr N/A HrElement N/A blank_line N/A BlankLine N/A p N/A Paragraph p N/A pre N/A PreBlock pre N/A {{{ }}} N/A raw_link N/A RawLink a N/A link N/A AnchorElement a N/A [[ ]] delimiter | interwiki_delimiter : base_urls interwiki_links_base_urls links_funcs interwiki_links_path_funcs interwiki_class_funcs interwiki_links_class_funcs default_space_char wiki_links_space_char space_chars interwiki_links_space_chars base_url wiki_links_base_url space_char wiki_links_space_char class_func wiki_links_class_func path_func wiki_links_path_func fragment_pattern fragment_pattern external_links_class external_links_class N/A img N/A ImageElement img N/A {{ }} delimiter | interwiki_delimiter : base_urls embed_interwiki_base_urls links_funcs embed_interwiki_path_funcs interwiki_class_funcs interwiki_links_class_funcs default_space_char embed_space_char space_chars embed_interwiki_space_chars base_url embed_base_url space_char embed_space_char class_func wiki_links_class_func path_func embed_path_func fragment_pattern fragment_pattern disable_external disable_external_content N/A td N/A TableCell td | N/A th N/A TableCell th |= N/A tr N/A TableRow tr | N/A table N/A Table table | N/A li N/A ListItem li list_tokens *# N/A ol N/A List ol # stop_tokens * N/A ul N/A List ul * stop_tokens # N/A nested_ol N/A NestedList ol # N/A nested_ul N/A NestedList ul * N/A custom_elements N/A N/A CustomElement reg_exp func N/A N/A reg_exp func custom_markup __init__ N/A N/A self N/A N/A N/A N/A N/A self link child_elements N/A N/A self simple_element N/A N/A N/A self simple_element child_elements N/A N/A self simple_element N/A N/A N/A self headings child_elements N/A self inline_elements N/A N/A N/A self p child_elements N/A self inline_elements N/A N/A N/A self td child_elements N/A N/A self br N/A self raw_link N/A self simple_element N/A N/A N/A self th child_elements N/A N/A self br N/A self raw_link N/A self simple_element N/A N/A N/A self tr child_elements N/A N/A self no_wiki N/A self img N/A self link N/A self custom_elements N/A self th N/A self td N/A N/A N/A self table child_elements N/A N/A self tr N/A N/A N/A self ol child_elements N/A N/A self li N/A N/A N/A self ul child_elements N/A N/A self li N/A N/A N/A self nested_ol child_elements N/A N/A self li N/A N/A N/A self nested_ul child_elements N/A N/A self li N/A N/A N/A self li child_elements N/A N/A N/A N/A self nested_ol N/A self nested_ul N/A self inline_elements N/A inline_elements N/A N/A self N/A N/A N/A N/A N/A N/A N/A self no_wiki N/A self img N/A self link N/A self custom_elements N/A N/A self br N/A self raw_link N/A self simple_element N/A property block_elements N/A N/A self N/A N/A N/A N/A N/A self pre N/A self blank_line N/A self table N/A self headings N/A self hr N/A self ul N/A self ol N/A self p N/A self.block_elements are the wiki elements that are searched at the top level of text to be
            processed. The order matters because elements later in the list need not have any
            knowledge of those before (as those were parsed out already). This makes the
            regular expression patterns for later elements very simple.
             N/A property N/A N/A Base N/A creole11_base N/A N/A macro_func indent_class indent_style simple_markup non_bodied_macros bodied_macros argument_parser N/A None None margin-left:2em N/A N/A ** strong N/A // em N/A ,, sub N/A ^^ sup N/A __ u N/A ## code N/A N/A parse_args kwargs N/A N/A Returns a base class for extending (for parameter descriptions, see :func:`~creoleparser.dialects.create_dialect`)

    The returned class implements most of the *officially* proposed additions to
    to Creole 1.0 specification:

        * superscript, subscript, underline, and monospace
        * definition lists
        * indentation
        * macros
            
        (see http://purl.oclc.org/creoleparser/cheatsheet)

   **A Basic Extending Example**

   Extending Creoleparser through subclassing is usually only needed when
   custom WikiElement objects are incorporated. However, it is also
   needed for other special jobs, like entirely disabling certain markup.
   Here we create a dialect that removes image support::

       >>> Base = creole11_base()
       >>> class MyDialect(Base):
       ...     @property
       ...     def inline_elements(self):
       ...         l = super(MyDialect,self).inline_elements
       ...         l.remove(self.img)
       ...         return l
       >>> from core import Parser
       >>> parser = Parser(MyDialect) 
       >>> print parser.render("{{this}} is not an image!"),
       <p>{{this}} is not an image!</p>
           
   For a more complex example, see the `source code
   <http://code.google.com/p/creoleparser/source/browse/trunk/creoleparser/dialects.py>`_
   of this function. It extends the class created from creole10_base().

   .. note::

       It is generally safest to create only one dialect class per base
       class. This is because WikiElement objects are bound as class
       attributes and would therefor be shared between multiple instances,
       which could lead to unexpected behaviour.

    
     N/A Creole10Base N/A creole10_base simple_markup simple_markup kwargs Base N/A Creole10Base N/A N/A indented N/A IndentedBlock div > class_ indent_class style indent_style N/A dd N/A DefinitionDef dd : N/A dt N/A DefinitionTerm dt ; stop_token : N/A dl N/A List dl ; stop_tokens *# N/A macro N/A Macro N/A << >> func macro_func macros non_bodied_macros arg_parser argument_parser N/A bodiedmacro N/A BodiedMacro N/A << >> func macro_func macros bodied_macros arg_parser argument_parser N/A bodied_block_macro N/A BodiedBlockMacro N/A << >> func macro_func macros bodied_macros arg_parser argument_parser __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super Base self __init__ N/A N/A N/A N/A self tr child_elements N/A 0 N/A N/A self no_wiki N/A self bodiedmacro N/A self macro N/A N/A N/A self dd child_elements N/A N/A self custom_elements N/A N/A self br N/A self raw_link N/A self simple_element N/A N/A N/A self dt child_elements N/A N/A self custom_elements N/A N/A self br N/A self raw_link N/A self simple_element N/A N/A N/A self dl child_elements N/A N/A N/A self no_wiki N/A self bodiedmacro N/A self macro N/A self img N/A self link N/A self dt N/A self dd N/A N/A N/A self indented child_elements N/A self block_elements N/A N/A N/A self bodiedmacro dialect self N/A N/A N/A self bodied_block_macro dialect self N/A inline_elements N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self no_wiki N/A self bodiedmacro N/A self macro N/A self img N/A self link N/A self custom_elements N/A N/A self br N/A self raw_link N/A self simple_element N/A property block_elements N/A N/A self N/A N/A N/A N/A N/A N/A self bodied_block_macro N/A self pre N/A self blank_line N/A self table N/A self headings N/A self hr N/A self indented N/A self dl N/A self ul N/A self ol N/A self p N/A property N/A N/A Base N/A Dialect N/A object N/A N/A Base class for dialect objects. N/A N/A _test N/A N/A N/A N/A N/A doctest N/A N/A N/A doctest testmod N/A N/A N/A __name__ __main__ N/A N/A N/A _test