Skip to content
Back to Python

Python

Mutation and aliasing

Trace shared objects and predict the effects of changes.

With Zoonk, your plan starts at this chapter and fits your schedule.

Build my plan

Start free, no account needed.

Where this chapter sits in the course

Lessons

Chapter 12 of 22 · 5 short lessons · 20 min
  1. 1References and aliasing3 min
  2. 2Mutation and rebinding4 min
  3. 3Equality and identity3 min
  4. 4Shallow copies and nested objects4 min
  5. 5Challenge: Mutation and aliasing6 min

What you'll learn

  • Trace aliases and changes to mutable objects
  • Distinguish equality, identity, and shallow copying

Your plan from this chapter

It follows the course from here, at your pace, with reviews before you forget.

Build my plan

Start free, no account needed.