/usr/share/pyshared/kivy/input/shape.py is in python-kivy 1.7.2-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 | '''
Motion Event Shape
==================
Represent the shape of the :class:`~kivy.input.motionevent.MotionEvent`
'''
__all__ = ('Shape', 'ShapeRect')
class Shape(object):
'''Abstract class for all implementation of a shape'''
pass
class ShapeRect(Shape):
'''Represent a rectangle shape.'''
__slots__ = ('width', 'height')
def __init__(self):
super(ShapeRect, self).__init__()
#: Width fo the rect
self.width = 0
#: Height of the rect
self.height = 0
|