Importing the module and importing a class or Enum from the same module

后端 未结 0 2023
野性不改
野性不改 2020-12-04 15:28
from x.y import SomeEnum
from x import y

SomeEnum is a Enum y here is a module name in which SomeEnum is defined.

M

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