jho

Avatar
  • Total activity 2
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1
  • jho created a post,

    How to specipy :rtype is derived type?

    like in:import copyclass X(object):    """    Seems like this is not the right way    :type self : T    :rtype : T      """    def Foo(self):        foo = copy.copy(self)        return fooclass Y(X...