阅读背景:

Python继承 - 如何禁用函数

来源:互联网 

In C++ you can disable a function in parent's class by declaring it as private in the child class. How can this be done in Python? I.E. How can I hide parent's function from child's public interface?In C++ you can disable a function in parent's c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: