Johnch18

Avatar
  • 活动总数 2
  • 最后的活动
  • 成员加入日期
  • 关注 0 名用户
  • 关注者数 0 名用户
  • 投票数 0
  • 订阅数 1
  • 已编辑于

    PyCharm not detecting errors raised by metaclasses

    已回答
    # I have roughly the following code:import abcclass Metaclass(abc.ABCMeta): def __new__(mcs, *args, **kwargs): new = super().__new__(mcs, *args, **kwargs) if not hasattr(new, "foo"...
    • 2 个关注者
    • 1 条评论
    • 0 票