mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
displayhook should accept any object, not just integers. displayhook and excepthook may be assigned to, so they should be Callable values rather than function definitions. That way it's fine to assign a function with different argument names. Their dunder variants are supposed to be constant.