[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool.py: Add a new GLFileTable class.
From: |
Bruno Haible |
Subject: |
Re: gnulib-tool.py: Add a new GLFileTable class. |
Date: |
Thu, 25 Apr 2024 13:40:21 +0200 |
Collin Funk wrote:
> for instance variables I
> rather put them outside __init__. It also serves as a decent place to
> add comments that don't belong in doc strings.
Yes. For instance variables that are used in several methods it would seem
odd to declare them in __init__. To me, __init__ is the place where they
are initialized, not declared.
Bruno