0

pyCharm/PTVS type inference

Hello

I read article, http://habrahabr.ru/company/microsoft/blog/185412/ [RUS, screenshorts available] about Python Tools for Visual Studio. And I found that in code example PTVS have cool type inference.
So, question - why pyCharm can not do the same?

def f(x):
    def g(y):
        return x + y
    return g

a = f(1)(2)
b = f(3.0)(a)
c = f(u'a')(str(b))
d = (a, b, c)[input()]
prettyPrint();

Thanks!

B7W

1 comment

Please sign in to leave a comment.