Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _add_alias_
Method
_add_alias_
Lib/enum.py:1207–1208 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
1205
ve_exc = None
1206
1207
def
_add_alias_(self, name):
1208
self.__class__._add_member_(name, self)
1209
1210
def
_add_value_alias_(self, value):
1211
cls = self.__class__
Callers
2
convert_class
Function · 0.80
test_add_alias
Method · 0.80
Calls
1
_add_member_
Method · 0.80
Tested by
1
test_add_alias
Method · 0.64