當前位置:成語大全網 - 書法字典 - Python有指針嗎?如何理解下面這個例子?

Python有指針嗎?如何理解下面這個例子?

Python沒有指針,但也可以傳遞引用。

最簡單的例子

def add(a,我的列表=

添加(3)-& gt;

https://docs . python . org/2.7/tutorial/controlflow . html # default-argument-values