- The Python Apprentice
- Robert Smallshire Austin Bingham
- 71字
- 2021-07-02 22:17:04
Argument passing semantics – pass by object-reference
Now let's look at how all this relates to function arguments and return values. When we call a function, we literally create new name bindings — those declared in the function definition — to existing objects — those passed in at the call itself. As such, it's important to really understand Python reference semantics if you want to know how your functions work.
推薦閱讀
- The Supervised Learning Workshop
- Java開發入行真功夫
- 編寫高質量代碼:改善C程序代碼的125個建議
- Mastering C# Concurrency
- Web全棧工程師的自我修養
- Learning Apache Mahout Classification
- Learn React with TypeScript 3
- 快人一步:系統性能提高之道
- NetBeans IDE 8 Cookbook
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- RESTful Web Clients:基于超媒體的可復用客戶端
- 零基礎學HTML+CSS第2版
- 超簡單:Photoshop+JavaScript+Python智能修圖與圖像自動化處理
- Microsoft HoloLens By Example
- 信息學奧林匹克競賽初賽精講精練