Also there is maybe some addition parameter like self:

```python
class Neuron:
    @instance_property
    activation

    def __init__(self):
        # automatically created
        pass
    ...

def instance_property(name, property, self, *args):
    # Create property on instance
```
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/LAQOOARQKIBAO2EVH6SC36S6X3JWNNKW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to