MCPcopy Index your code
hub / github.com/python/cpython / _add_alias_

Method _add_alias_

Lib/enum.py:1235–1236  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

1233 ve_exc = None
1234
1235 def _add_alias_(self, name):
1236 self.__class__._add_member_(name, self)
1237
1238 def _add_value_alias_(self, value):
1239 cls = self.__class__

Callers 2

convert_classFunction · 0.80
test_add_aliasMethod · 0.80

Calls 1

_add_member_Method · 0.80

Tested by 1

test_add_aliasMethod · 0.64