* pygnulib/main.py: Add a note about the common convention of using an
underscore prefix to mark a function/variable as private.
+2024-04-19 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Add a comment about coding style.
+ * pygnulib/main.py: Add a note about the common convention of using an
+ underscore prefix to mark a function/variable as private.
+
2024-04-19 Collin Funk <collin.funk1@gmail.com>
gnulib-tool.py: Remove some unused instance variables.
# Cf. <https://peps.python.org/pep-0585/>.
# - Never use the {} literal, because it denotes a dictionary,
# as opposed to {x}, {x,y}, etc., which denote sets.
+# - Use a leading underscore to indicate that functions and instance variables
+# should be considered private. This is a widely accepted convention from
+# PEP 8 <https://peps.python.org/pep-0008/#method-names-and-instance-variables>.
# You can use this command to check the style:
# $ pycodestyle *.py