1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
"""cf #13784 """ __revision__ = None def no_conjugate_member(magic_flag): """should not raise E1101 on something.conjugate""" if magic_flag: something = 1.0 else: something = 1.0j if isinstance(something, float): return something return something.conjugate()