Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ LiesAboutLengthSeq
Class
LiesAboutLengthSeq
Lib/test/string_tests.py:1374–1376 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1372
(
'a'
* i,) * i)
1373
1374
class
LiesAboutLengthSeq(Sequence):
1375
def
__init__(self): self.seq = [
'a'
,
'b'
,
'c'
]
1376
def
__len__(self):
return
8
1377
1378
self.checkequal(
'a b c'
,
' '
,
'join'
, LiesAboutLengthSeq())
1379
Callers
1
test_join
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_join
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…