Skip to content
  • Dom Sekotill's avatar
    02a4afb6
    Simplify an out-of-date optimisation · 02a4afb6
    Dom Sekotill authored
    Newer versions of Python seem to optimize compound conditionals with
    constants better than 3.8, so splitting them is no longer needed.
    
    >>> if __debug__:
    ...     if [additional conditions]:
    ...         ...
    02a4afb6
    Simplify an out-of-date optimisation
    Dom Sekotill authored
    Newer versions of Python seem to optimize compound conditionals with
    constants better than 3.8, so splitting them is no longer needed.
    
    >>> if __debug__:
    ...     if [additional conditions]:
    ...         ...
Loading