dwjgwsm
V2EX  ›  问与答

defaultdict 打印输出格式如何去掉前面的 type 说明?

  •  
  •   dwjgwsm · Jan 11, 2018 · 2131 views
    This topic created in 3131 days ago, the information mentioned may be changed or developed.

    我比较喜欢使用 defaultdict,但是输出的时候总是前面自带一个类型说明,defaultdict(<type 'int'>,看着很不爽,有没有什么办法把这个说明搞掉

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3850 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:11 · PVG 08:11 · LAX 17:11 · JFK 20:11
    ♥ Do have faith in what you're doing.