Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5155

Re: [Python-de] classproperties ... nutzt ihr das?

From Thomas Güttler <guettliml@thomas-guettler.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] classproperties ... nutzt ihr das?
Date 2018-04-23 11:22 +0200
Message-ID <mailman.10.1524475386.2832.python-de@python.org> (permalink)
References <c583b251-afcc-e0b7-107b-7a473426181d@thomas-guettler.de> <031dfd03-190e-1261-df6c-31830bf87d15@chrisarndt.de> <81650743-d5be-67bb-5289-920476c01cc2@thomas-guettler.de>

Show all headers | View raw



Am 20.04.2018 um 13:39 schrieb Christopher Arndt:
> Am 20.04.2018 um 13:25 schrieb Thomas Güttler:
>> bisher nutze ich Properties nur für Objekte/Instanzen.
>>
>> Prinzipiell geht das au[ch] für Klassen.
> 
> Mit Python-Boardmitteln? Das wäre mir neu. Code oder Link?

Ja, das gibt es. Mit dieser Lib braucht man nicht mal Quelltext aus Stackoverflow in
sein eigenes Repo kopieren:

   https://pypi.org/project/classproperty/

Es gab kein Feedback. Schade, da kann man nun nur vermuten.

Gruß,
   Thomas

-- 
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] classproperties ... nutzt ihr das? Thomas Güttler <guettliml@thomas-guettler.de> - 2018-04-23 11:22 +0200

csiph-web