jakeyfly
V2EX  ›  问与答

在 Python 中 元类 能否根据 子类 继承不同的抽像基类 做不同的操作?

  •  
  •   jakeyfly · Dec 31, 2018 · 1427 views
    This topic created in 2759 days ago, the information mentioned may be changed or developed.

    比发有三个抽像基类 A B C 一个元素 X 不同的子类 AA(A) BB(B) CC(C) mateclass 都是 X 能在 X 里得到字类所继承的抽像基类名称吗 或者说能提取到 是那个抽像基类不。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1389 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 512acd8b · 42ms · UTC 17:11 · PVG 01:11 · LAX 10:11 · JFK 13:11
    ♥ Do have faith in what you're doing.