Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Noncompliant Code Example

      if param == 1:
        openWindow()
      elif param == 2:
        closeWindow()
      elif param == 1:            # Noncompliant
        moveWindowToTheBackground()
      

      Compliant Solution

      if param == 1:
        openWindow()
      elif param == 2:
        closeWindow()
      elif param == 3:        
        moveWindowToTheBackground()
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elena.vilchik Elena Vilchik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: