def name(self, new_name):
if new_name is None:
self._folded_name = self.real_name = None
else:
# Intern names to help reduce duplicates in memory.
self.real_name = sys.intern(new_name)
self._folded_name = sys.intern(new_name.casefold())
评论列表
文章目录