In this article I read:
When I was a kid, our neighbors had two twin cats.
Both cats looked seemingly identical—same charcoal fur, same piercing green eyes. Some personality quirks aside, you just couldn’t tell them apart just from looking at them. But of course they were two different cats, two separate beings, even though they looked exactly the same.
There’s a difference in meaning between equal and identical. And this difference is important when you want to understand how Python’s is and == comparison operators behave.
The == operator compares by checking for equality: If these cats were Python objects and we’d compare them with the == operator, we’d get “both cats are equal” as an answer.
The is operator, however, compares identities: If we compared our cats with the is operator, we’d get “these are two different cats” as an answer.
But before I get all tangled up in this ball of twine of a cat analogy, let’s take a look at some real Python code.
In the previous context, author takes cat twins for an instance, then follows
with ball-of-twine
I roughly understand the brief meaning.
In Wikipedia, it has no relation with twins.
The phrase has no explanation in urban dict.
I assume the author applied wrong phrase when flaunting his vocabulary.
Is it a popular phrase?