view tests/test_parse_files/test_classdef.py @ 75:1abc8ca9f30b

Add ast.YieldFrom.
author Bastien Orivel <eijebong@bananium.fr>
date Mon, 13 Jun 2016 18:26:46 +0200
parents 8ce78e2ba48c
children
line wrap: on
line source

class A(object, metaclass=type):
    def b(self):
        print("a")
A().b()