enrich already implemented python class with function

前端 未结 0 1031
广开言路
广开言路 2021-02-20 17:39

assume i have a class from library:

class A:
  def foo():
    pass
  def bar():
    pass

class B(A):
  def anotherFunction():
    pass

and i hav

相关标签:
回答
  • 消灭零回复
提交回复
热议问题