This file is indexed.

/usr/lib/python2.7/dist-packages/enable/api.py is in python-enable 4.5.1-2ubuntu1.

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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
""" Enable is an interactive graphical component framework built on top of Kiva.

See https://www.enthought.com/enthought/wiki/EnableProject
"""

# Major package imports
# TODO - Add basic comments for the names being imported from base and enable_traits
from base import IDroppedOnHandler, TOP, VCENTER, BOTTOM, LEFT, HCENTER, RIGHT, \
    TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, str_to_font, \
    empty_rectangle, intersect_bounds

from enable_traits import basic_sequence_types, sequence_types, pointer_shapes, \
     CURSOR_X, CURSOR_Y, cursor_styles, border_size_editor, font_trait, \
     bounds_trait, ComponentMinSize, ComponentMaxSize, Pointer, cursor_style_trait, \
     spacing_trait, padding_trait, margin_trait, border_size_trait, \
     TimeInterval, Stretch, NoStretch, LineStyle, LineStyleEditor

from colors import color_table, transparent_color, ColorTrait, black_color_trait, \
                   white_color_trait, transparent_color_trait, ColorEditorFactory

from markers import MarkerTrait, marker_trait, MarkerNameDict, marker_names, \
    SquareMarker, CircleMarker, TriangleMarker, Inverted_TriangleMarker, \
    PlusMarker, CrossMarker, DiamondMarker, DotMarker, PixelMarker, \
    CustomMarker, AbstractMarker

from events import drag_event_trait, key_event_trait, mouse_event_trait, \
    BasicEvent, BlobEvent, BlobFrameEvent, DragEvent, KeyEvent, MouseEvent
from interactor import Interactor
from base_tool import BaseTool, KeySpec

from abstract_overlay import AbstractOverlay
from canvas import Canvas
from component import Component
from container import Container
from coordinate_box import CoordinateBox
from component_editor import ComponentEditor
from constraints_container import ConstraintsContainer
from overlay_container import OverlayContainer

# Breaks code that does not use numpy
from label import Label

from graphics_context import GraphicsContextEnable, ImageGraphicsContextEnable

# Old Enable classes and widgets
from abstract_window import AbstractWindow

from native_scrollbar import NativeScrollBar
from compass import Compass
from scrolled import Scrolled
from slider import Slider
from text_field_style import TextFieldStyle
from text_field import TextField
from text_field_grid import TextFieldGrid
from viewport import Viewport
from window import Window

from primitives.api import Annotater, Box, Line, Polygon