File: python.xml

package info (click to toggle)
tea 50.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,324 kB
  • sloc: cpp: 17,581; ansic: 3,690; xml: 339; makefile: 9
file content (29 lines) | stat: -rw-r--r-- 1,529 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<document exts="py" langs="Python">

<item name="options" wrap="0" xml_format="1"> 
</item>

<item name="keywords" type="keywords" color="keywords" fontstyle="bold">
\b(and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|yield)\b</item>


<item name="functions" type="keywords" color="functions">
\b(__import__|abs|all|any|apply|basestring|bin|bool|buffer|bytearray|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b</item>

<item name="operator" type="item" color="operator" fontstyle="bold">[=\+\*\/\(\)\[]|]</item>

<item name="quotes" type="item" color="quotes">("[^\"]*"|'[^']*')</item>

<item name="char" type="item" color="quotes">('[^']*')</item>

<item name="single comment" type="item" color="single comment" fontstyle="italic">#[^\n]*</item>

<item name="mcomment-start" type="mcomment-start" color="mcomment-start" fontstyle="italic">"""</item>

<item name="mcomment-end" type="mcomment-end">"""</item>

<item name="cm_mult" type="comment">"""%s\n"""</item>

<item name="cm_single" type="comment">#/%s</item>

</document>