跳到内容
onsuggest
登录
文章 en

Operator and Function Overloading in Custom Python Classes

来源: Real Python ·

Use Python operator overloading to make built-in functions and operators work with your own classes, and write more Pythonic code.

键盘快捷键

上一条发现
←P
下一条发现
→N
喜欢
L
不适合我
X
保存
S
显示此帮助
?
关闭
Esc

快捷键在发现页面上有效。