#!/usr/local/bin/python2 import math class A(object): def __init__(self): self.m = math a = A() print (a.m if 1 else a.m).pi