jakeyfly
V2EX  ›  问与答

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

  •  
  •   jakeyfly · Dec 31, 2018 · 1357 views
    This topic created in 2712 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   ·   5652 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    ♥ Do have faith in what you're doing.