Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
MoinMoin.support.pygments.lexers.agile.PythonLexer Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexers.agile.PythonLexer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.pygments.lexers.agile.PythonLexer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def analyse_text

Static Public Attributes

string name = 'Python'
list aliases = ['python', 'py']
list filenames = ['*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript']
list mimetypes = ['text/x-python', 'application/x-python']
dictionary tokens

Detailed Description

For `Python <http://www.python.org>`_ source code.

Definition at line 37 of file agile.py.


Member Function Documentation

Definition at line 179 of file agile.py.

00179 
00180     def analyse_text(text):
00181         return shebang_matches(text, r'pythonw?(2\.\d)?')
00182 


Member Data Documentation

Definition at line 43 of file agile.py.

list MoinMoin.support.pygments.lexers.agile.PythonLexer.filenames = ['*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript'] [static]

Definition at line 44 of file agile.py.

list MoinMoin.support.pygments.lexers.agile.PythonLexer.mimetypes = ['text/x-python', 'application/x-python'] [static]

Definition at line 45 of file agile.py.

Definition at line 42 of file agile.py.

Definition at line 47 of file agile.py.


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