{"categories":["Python"],"title":"property","description":"2. \u7d44\u307f\u8fbc\u307f\u95a2\u6570 \u2014 Python 2.7ja1 documentation class Parrot1(object): def __init__(self): self._voltage = 100000 # voltage() \u304c\u540c\u3058\u540d\u524d\u306e\u8aad\u307f\u53d6\u308a\u5c02\u7528\u5c5e\u6027\u306e \u201cgetter\u201d \u306b\u306a\u308a\u307e\u3059\u3002 # doc \u304c\u3082\u3057\u4e0e\u3048\u3089\u308c\u305f\u306a\u3089\u3070\u305d\u308c\u304c\u30d7\u30ed\u30d1\u30c6\u30a3\u5c5e\u6027\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u6587\u5b57\u5217\u306b\u306a\u308a\u307e\u3059\u3002 @property def voltage(self): \"\"\"Get the current voltage.\"\"\" return self._voltage class Parrot2(object): de\u2026","author_name":"shigemk2","url":"https://www.shigemk2.com/entry/20130628/1372426295","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20130628%2F1372426295\" title=\"property - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_url":"https://hatena.blog","image_url":null,"blog_title":"by shigemk2","blog_url":"https://www.shigemk2.com/","provider_name":"Hatena Blog","published":"2013-06-28 22:31:35","author_url":"https://blog.hatena.ne.jp/shigemk2/","width":"100%","type":"rich","version":"1.0"}