温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有

Add `is_integer` to fractions.Fraction · Issue #100488 · python/cpython · GitHub

来源:www.github.com

Requested by @mdickinson in #100268 (comment) The case for: Improves duck type compatibility between Fraction and float (and now int) Simple to implement; hopefully low maintenance cost The case against: Not aware of muc…

以上为公开页面信息摘要,完整内容请前往原网站阅读。

前往原网站阅读全文

热门推荐记录