#!/usr/local/bin/python2 from collections import namedtuple Point = namedtuple('Point', ['x', 'y']) {Point:1}