Add docs about warnings member for python.
@@ -159,6 +159,11 @@ The saved rules can be loaded from the memory buffer:
The result of ``load`` is also an instance of the class :py:class:`yara.Rules`.
+Starting with YARA 4.3.0, ``Rules`` have a warning member which contains a list
+of warnings generated by the compiler. This allows you to know if the compiler
+generated warnings without them being hard errors using the `error_on_warning`
+argument.
+
Instances of ``Rules`` also have a ``match`` method, which allows you to apply
the rules to a file:
