Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrinank-Bhowmick/python-beginner-projects
/ __new__
Method
__new__
projects/Neurons/main.py:24–25 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
22
CHAR =
" "
23
24
def
__new__(cls) -> str:
25
return
str.__new__(cls, cls.CHAR)
26
27
28
class
Neuron(str):
Callers
1
__new__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected