@classmethod are used in Python to represent methods that can query and update the class (cls parameter). Is expected to be used for metaprograming, or advanced techniques that require the access to the class itself, before we have an instance. @staticmethod are used to associate a function to a class. It will not be have access to the instance (self) not the class (cls). In other programming languages are known as class methods. This patch replace all the @classmethod with @staticmethod when there is not need to access to the cls parameter, because the intention is to be used as normal functions. |
||
|---|---|---|
| .. | ||
| attributes_not_used.sh | ||
| completion_generator.py | ||
| rebuild_changelog_reference.sh | ||
| schema_docs.conf | ||
| schema_docs.sh | ||
| schema_parser.py | ||
| update_changelog.py | ||