Searched refs:private_name (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Doc/howto/ |
D | descriptor.rst | 221 be recorded, giving each descriptor its own *public_name* and *private_name*: 233 self.private_name = '_' + name 236 value = getattr(obj, self.private_name) 242 setattr(obj, self.private_name, value) 263 {'public_name': 'name', 'private_name': '_name'} 265 {'public_name': 'age', 'private_name': '_age'} 348 self.private_name = '_' + name 351 return getattr(obj, self.private_name) 355 setattr(obj, self.private_name, value)
|
/external/fonttools/Lib/fontTools/designspaceLib/ |
D | __init__.py | 39 def posixpath_property(private_name): argument 42 return getattr(self, private_name) 48 setattr(self, private_name, value)
|