This file is indexed.

/usr/lib/python3/dist-packages/markups/textile.py is in python3-markups 0.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
30
31
32
33
34
35
36
# This file is part of python-markups module
# License: BSD
# Copyright: (C) Dmitry Shachnev, 2013

from __future__ import absolute_import

import markups.common as common
from markups.abstract import AbstractMarkup

class TextileMarkup(AbstractMarkup):
	"""Textile language"""
	name = 'Textile'
	attributes = {
		common.LANGUAGE_HOME_PAGE: 'http://textile.sitemonks.com/',
		common.MODULE_HOME_PAGE: 'https://github.com/sebix/python-textile',
		common.SYNTAX_DOCUMENTATION: 'http://movabletype.org/documentation/author/textile-2-syntax.html'
	}

	file_extensions = ('.textile',)
	default_extension = '.textile'

	@staticmethod
	def available():
		try:
			import textile
		except ImportError:
			return False
		return True

	def __init__(self, filename=None):
		AbstractMarkup.__init__(self, filename)
		from textile import Textile
		self.parser = Textile()

	def get_document_body(self, text):
		return self.parser.textile(text)