[GRASS-git] [OSGeo/grass] 4d0073: style: use `is True` instead of `== True` (#3845)

Ondrej Pesek noreply at github.com
Sun Jun 16 07:16:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 4d007320a25dca7e5ac82b25c07fa7925c5fba21
      https://github.com/OSGeo/grass/commit/4d007320a25dca7e5ac82b25c07fa7925c5fba21
  Author: Ondrej Pesek <pesej.ondrek at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M gui/wxpython/location_wizard/wizard.py
    M python/grass/docs/src/temporal_framework.rst
    M utils/gitlog2changelog.py

  Log Message:
  -----------
  style: use `is True` instead of `== True` (#3845)

`== True` (or `== False`) is not a boolean operator and can lead to wrong results

* `is` is also unnoticeably faster



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list