Update example to always init ANOTHER_LIBRARY_IMPORT_ERROR (#79927)

pull/79934/head
Matt Martz 1 year ago committed by GitHub
parent 32672c6326
commit 24519f3bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,6 +28,7 @@ Instead of using ``import another_library``:
ANOTHER_LIBRARY_IMPORT_ERROR = traceback.format_exc()
else:
HAS_ANOTHER_LIBRARY = True
ANOTHER_LIBRARY_IMPORT_ERROR = None
.. note::

Loading…
Cancel
Save