Back to index

moin  1.9.0~rc2
Public Member Functions Class Reference

List of all members.

Public Member Functions

def __getattr__

Detailed Description

Automatically import lexers.

Definition at line 213 of file

Member Function Documentation

Definition at line 216 of file

00217     def __getattr__(self, name):
00218         info = LEXERS.get(name)
00219         if info:
00220             _load_lexers(info[0])
00221             cls = _lexer_cache[info[1]]
00222             setattr(self, name, cls)
00223             return cls
00224         raise AttributeError(name)

Here is the call graph for this function:

The documentation for this class was generated from the following file: