PyFile:TryExceptAs.py
  PyTryExceptStatement
    PyTryPart
      PsiElement(Py:TRY_KEYWORD)('try')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n    ')
      PyStatementList
        PyAssignmentStatement
          PyTargetExpression: f
            PsiElement(Py:IDENTIFIER)('f')
          PsiWhiteSpace(' ')
          PsiElement(Py:EQ)('=')
          PsiWhiteSpace(' ')
          PyCallExpression: open
            PyReferenceExpression: open
              PsiElement(Py:IDENTIFIER)('open')
            PyArgumentList
              PsiElement(Py:LPAR)('(')
              PyStringLiteralExpression: myfile.txt
                PsiElement(Py:SINGLE_QUOTED_STRING)(''myfile.txt'')
              PsiElement(Py:RPAR)(')')
    PsiWhiteSpace('\n')
    PyExceptPart
      PsiElement(Py:EXCEPT_KEYWORD)('except')
      PsiWhiteSpace(' ')
      PyReferenceExpression: IOError
        PsiElement(Py:IDENTIFIER)('IOError')
      PsiWhiteSpace(' ')
      PsiElement(Py:AS_KEYWORD)('as')
      PsiWhiteSpace(' ')
      PyParenthesizedExpression
        PsiElement(Py:LPAR)('(')
        PyTupleExpression
          PyTargetExpression: errno
            PsiElement(Py:IDENTIFIER)('errno')
          PsiElement(Py:COMMA)(',')
          PsiWhiteSpace(' ')
          PyTargetExpression: strerror
            PsiElement(Py:IDENTIFIER)('strerror')
        PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n    ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')