Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ StringAnnotation
Class
StringAnnotation
tests/test_guarded_eval.py:308–313 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
306
307
308
class
StringAnnotation:
309
def
heap(self) ->
"HeapType"
:
310
return
HeapType()
311
312
def
copy(self) ->
"StringAnnotation"
:
313
return
StringAnnotation()
314
315
316
CustomIntType = NewType(
"CustomIntType"
, int)
Callers
1
copy
Method · 0.85
Calls
no outgoing calls
Tested by
1
copy
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…