Back to index

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

List of all members.

Public Member Functions

def analyse_text

Static Public Attributes

string name = 'Python 3'
list aliases = ['python3', 'py3']
list filenames = []
list mimetypes = ['text/x-python3', 'application/x-python3']
 flags = re.MULTILINE|re.UNICODE
string uni_name = "[%s][%s]*"
tuple tokens = PythonLexer.tokens.copy()

Detailed Description

For `Python <http://www.python.org>`_ source code (version 3.0).

*New in Pygments 0.10.*

Definition at line 183 of file agile.py.


Member Function Documentation

Definition at line 270 of file agile.py.

00270 
00271     def analyse_text(text):
00272         return shebang_matches(text, r'pythonw?3(\.\d)?')
00273 


Member Data Documentation

Definition at line 191 of file agile.py.

Definition at line 192 of file agile.py.

Definition at line 195 of file agile.py.

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

Definition at line 193 of file agile.py.

Definition at line 190 of file agile.py.

tuple MoinMoin.support.pygments.lexers.agile.Python3Lexer.tokens = PythonLexer.tokens.copy() [static]

Definition at line 199 of file agile.py.

Definition at line 197 of file agile.py.


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