...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/python/test_complex_file1.expected

Documentation: github.com/alecthomas/chroma/v2/lexers/testdata/python

     1[
     2  {"type":"CommentSingle","value":"# From CPython (Lib/asyncio/coroutines.py)"},
     3  {"type":"Text","value":"\n"},
     4  {"type":"Name","value":"__all__"},
     5  {"type":"Text","value":" "},
     6  {"type":"Operator","value":"="},
     7  {"type":"Text","value":" "},
     8  {"type":"LiteralStringSingle","value":"'coroutine'"},
     9  {"type":"Punctuation","value":","},
    10  {"type":"Text","value":" "},
    11  {"type":"LiteralStringSingle","value":"'iscoroutinefunction'"},
    12  {"type":"Punctuation","value":","},
    13  {"type":"Text","value":" "},
    14  {"type":"LiteralStringSingle","value":"'iscoroutine'"},
    15  {"type":"Text","value":"\n\n"},
    16  {"type":"KeywordNamespace","value":"import"},
    17  {"type":"Text","value":" "},
    18  {"type":"NameNamespace","value":"collections.abc"},
    19  {"type":"Text","value":"\n"},
    20  {"type":"KeywordNamespace","value":"import"},
    21  {"type":"Text","value":" "},
    22  {"type":"NameNamespace","value":"functools"},
    23  {"type":"Text","value":"\n"},
    24  {"type":"KeywordNamespace","value":"import"},
    25  {"type":"Text","value":" "},
    26  {"type":"NameNamespace","value":"inspect"},
    27  {"type":"Text","value":"\n"},
    28  {"type":"KeywordNamespace","value":"import"},
    29  {"type":"Text","value":" "},
    30  {"type":"NameNamespace","value":"os"},
    31  {"type":"Text","value":"\n"},
    32  {"type":"KeywordNamespace","value":"import"},
    33  {"type":"Text","value":" "},
    34  {"type":"NameNamespace","value":"sys"},
    35  {"type":"Text","value":"\n"},
    36  {"type":"KeywordNamespace","value":"import"},
    37  {"type":"Text","value":" "},
    38  {"type":"NameNamespace","value":"traceback"},
    39  {"type":"Text","value":"\n"},
    40  {"type":"KeywordNamespace","value":"import"},
    41  {"type":"Text","value":" "},
    42  {"type":"NameNamespace","value":"types"},
    43  {"type":"Text","value":"\n"},
    44  {"type":"KeywordNamespace","value":"import"},
    45  {"type":"Text","value":" "},
    46  {"type":"NameNamespace","value":"warnings"},
    47  {"type":"Text","value":"\n\n"},
    48  {"type":"KeywordNamespace","value":"from"},
    49  {"type":"Text","value":" "},
    50  {"type":"NameNamespace","value":"."},
    51  {"type":"Text","value":" "},
    52  {"type":"KeywordNamespace","value":"import"},
    53  {"type":"Text","value":" "},
    54  {"type":"Name","value":"base_futures"},
    55  {"type":"Text","value":"\n"},
    56  {"type":"KeywordNamespace","value":"from"},
    57  {"type":"Text","value":" "},
    58  {"type":"NameNamespace","value":"."},
    59  {"type":"Text","value":" "},
    60  {"type":"KeywordNamespace","value":"import"},
    61  {"type":"Text","value":" "},
    62  {"type":"Name","value":"constants"},
    63  {"type":"Text","value":"\n"},
    64  {"type":"KeywordNamespace","value":"from"},
    65  {"type":"Text","value":" "},
    66  {"type":"NameNamespace","value":"."},
    67  {"type":"Text","value":" "},
    68  {"type":"KeywordNamespace","value":"import"},
    69  {"type":"Text","value":" "},
    70  {"type":"Name","value":"format_helpers"},
    71  {"type":"Text","value":"\n"},
    72  {"type":"KeywordNamespace","value":"from"},
    73  {"type":"Text","value":" "},
    74  {"type":"NameNamespace","value":".log"},
    75  {"type":"Text","value":" "},
    76  {"type":"KeywordNamespace","value":"import"},
    77  {"type":"Text","value":" "},
    78  {"type":"Name","value":"logger"},
    79  {"type":"Text","value":"\n\n\n"},
    80  {"type":"Keyword","value":"def"},
    81  {"type":"Text","value":" "},
    82  {"type":"NameFunction","value":"_is_debug_mode"},
    83  {"type":"Punctuation","value":"():"},
    84  {"type":"Text","value":"\n    "},
    85  {"type":"CommentSingle","value":"# If you set _DEBUG to true, @coroutine will wrap the resulting"},
    86  {"type":"Text","value":"\n    "},
    87  {"type":"CommentSingle","value":"# generator objects in a CoroWrapper instance (defined below).  That"},
    88  {"type":"Text","value":"\n    "},
    89  {"type":"CommentSingle","value":"# instance will log a message when the generator is never iterated"},
    90  {"type":"Text","value":"\n    "},
    91  {"type":"CommentSingle","value":"# over, which may happen when you forget to use \"await\" or \"yield from\""},
    92  {"type":"Text","value":"\n    "},
    93  {"type":"CommentSingle","value":"# with a coroutine call."},
    94  {"type":"Text","value":"\n    "},
    95  {"type":"CommentSingle","value":"# Note that the value of the _DEBUG flag is taken"},
    96  {"type":"Text","value":"\n    "},
    97  {"type":"CommentSingle","value":"# when the decorator is used, so to be of any use it must be set"},
    98  {"type":"Text","value":"\n    "},
    99  {"type":"CommentSingle","value":"# before you define your coroutines.  A downside of using this feature"},
   100  {"type":"Text","value":"\n    "},
   101  {"type":"CommentSingle","value":"# is that tracebacks show entries for the CoroWrapper.__next__ method"},
   102  {"type":"Text","value":"\n    "},
   103  {"type":"CommentSingle","value":"# when _DEBUG is true."},
   104  {"type":"Text","value":"\n    "},
   105  {"type":"Keyword","value":"return"},
   106  {"type":"Text","value":" "},
   107  {"type":"Name","value":"sys"},
   108  {"type":"Operator","value":"."},
   109  {"type":"Name","value":"flags"},
   110  {"type":"Operator","value":"."},
   111  {"type":"Name","value":"dev_mode"},
   112  {"type":"Text","value":" "},
   113  {"type":"OperatorWord","value":"or"},
   114  {"type":"Text","value":" "},
   115  {"type":"Punctuation","value":"("},
   116  {"type":"OperatorWord","value":"not"},
   117  {"type":"Text","value":" "},
   118  {"type":"Name","value":"sys"},
   119  {"type":"Operator","value":"."},
   120  {"type":"Name","value":"flags"},
   121  {"type":"Operator","value":"."},
   122  {"type":"Name","value":"ignore_environment"},
   123  {"type":"Text","value":" "},
   124  {"type":"OperatorWord","value":"and"},
   125  {"type":"Text","value":"\n                                  "},
   126  {"type":"NameBuiltin","value":"bool"},
   127  {"type":"Punctuation","value":"("},
   128  {"type":"Name","value":"os"},
   129  {"type":"Operator","value":"."},
   130  {"type":"Name","value":"environ"},
   131  {"type":"Operator","value":"."},
   132  {"type":"Name","value":"get"},
   133  {"type":"Punctuation","value":"("},
   134  {"type":"LiteralStringSingle","value":"'PYTHONASYNCIODEBUG'"},
   135  {"type":"Punctuation","value":")))"},
   136  {"type":"Text","value":"\n\n\n"},
   137  {"type":"Name","value":"_DEBUG"},
   138  {"type":"Text","value":" "},
   139  {"type":"Operator","value":"="},
   140  {"type":"Text","value":" "},
   141  {"type":"Name","value":"_is_debug_mode"},
   142  {"type":"Punctuation","value":"()"},
   143  {"type":"Text","value":"\n\n\n"},
   144  {"type":"Keyword","value":"class"},
   145  {"type":"Text","value":" "},
   146  {"type":"NameClass","value":"CoroWrapper"},
   147  {"type":"Punctuation","value":":"},
   148  {"type":"Text","value":"\n    "},
   149  {"type":"CommentSingle","value":"# Wrapper for coroutine object in _DEBUG mode."},
   150  {"type":"Text","value":"\n\n    "},
   151  {"type":"Keyword","value":"def"},
   152  {"type":"Text","value":" "},
   153  {"type":"NameFunctionMagic","value":"__init__"},
   154  {"type":"Punctuation","value":"("},
   155  {"type":"NameBuiltinPseudo","value":"self"},
   156  {"type":"Punctuation","value":","},
   157  {"type":"Text","value":" "},
   158  {"type":"Name","value":"gen"},
   159  {"type":"Punctuation","value":","},
   160  {"type":"Text","value":" "},
   161  {"type":"Name","value":"func"},
   162  {"type":"Operator","value":"="},
   163  {"type":"KeywordConstant","value":"None"},
   164  {"type":"Punctuation","value":"):"},
   165  {"type":"Text","value":"\n        "},
   166  {"type":"Keyword","value":"assert"},
   167  {"type":"Text","value":" "},
   168  {"type":"Name","value":"inspect"},
   169  {"type":"Operator","value":"."},
   170  {"type":"Name","value":"isgenerator"},
   171  {"type":"Punctuation","value":"("},
   172  {"type":"Name","value":"gen"},
   173  {"type":"Punctuation","value":")"},
   174  {"type":"Text","value":" "},
   175  {"type":"OperatorWord","value":"or"},
   176  {"type":"Text","value":" "},
   177  {"type":"Name","value":"inspect"},
   178  {"type":"Operator","value":"."},
   179  {"type":"Name","value":"iscoroutine"},
   180  {"type":"Punctuation","value":"("},
   181  {"type":"Name","value":"gen"},
   182  {"type":"Punctuation","value":"),"},
   183  {"type":"Text","value":" "},
   184  {"type":"Name","value":"gen"},
   185  {"type":"Text","value":"\n        "},
   186  {"type":"NameBuiltinPseudo","value":"self"},
   187  {"type":"Operator","value":"."},
   188  {"type":"Name","value":"gen"},
   189  {"type":"Text","value":" "},
   190  {"type":"Operator","value":"="},
   191  {"type":"Text","value":" "},
   192  {"type":"Name","value":"gen"},
   193  {"type":"Text","value":"\n        "},
   194  {"type":"NameBuiltinPseudo","value":"self"},
   195  {"type":"Operator","value":"."},
   196  {"type":"Name","value":"func"},
   197  {"type":"Text","value":" "},
   198  {"type":"Operator","value":"="},
   199  {"type":"Text","value":" "},
   200  {"type":"Name","value":"func"},
   201  {"type":"Text","value":"  "},
   202  {"type":"CommentSingle","value":"# Used to unwrap @coroutine decorator"},
   203  {"type":"Text","value":"\n        "},
   204  {"type":"NameBuiltinPseudo","value":"self"},
   205  {"type":"Operator","value":"."},
   206  {"type":"Name","value":"_source_traceback"},
   207  {"type":"Text","value":" "},
   208  {"type":"Operator","value":"="},
   209  {"type":"Text","value":" "},
   210  {"type":"Name","value":"format_helpers"},
   211  {"type":"Operator","value":"."},
   212  {"type":"Name","value":"extract_stack"},
   213  {"type":"Punctuation","value":"("},
   214  {"type":"Name","value":"sys"},
   215  {"type":"Operator","value":"."},
   216  {"type":"Name","value":"_getframe"},
   217  {"type":"Punctuation","value":"("},
   218  {"type":"LiteralNumberInteger","value":"1"},
   219  {"type":"Punctuation","value":"))"},
   220  {"type":"Text","value":"\n        "},
   221  {"type":"NameBuiltinPseudo","value":"self"},
   222  {"type":"Operator","value":"."},
   223  {"type":"NameVariableMagic","value":"__name__"},
   224  {"type":"Text","value":" "},
   225  {"type":"Operator","value":"="},
   226  {"type":"Text","value":" "},
   227  {"type":"NameBuiltin","value":"getattr"},
   228  {"type":"Punctuation","value":"("},
   229  {"type":"Name","value":"gen"},
   230  {"type":"Punctuation","value":","},
   231  {"type":"Text","value":" "},
   232  {"type":"LiteralStringSingle","value":"'__name__'"},
   233  {"type":"Punctuation","value":","},
   234  {"type":"Text","value":" "},
   235  {"type":"KeywordConstant","value":"None"},
   236  {"type":"Punctuation","value":")"},
   237  {"type":"Text","value":"\n        "},
   238  {"type":"NameBuiltinPseudo","value":"self"},
   239  {"type":"Operator","value":"."},
   240  {"type":"NameVariableMagic","value":"__qualname__"},
   241  {"type":"Text","value":" "},
   242  {"type":"Operator","value":"="},
   243  {"type":"Text","value":" "},
   244  {"type":"NameBuiltin","value":"getattr"},
   245  {"type":"Punctuation","value":"("},
   246  {"type":"Name","value":"gen"},
   247  {"type":"Punctuation","value":","},
   248  {"type":"Text","value":" "},
   249  {"type":"LiteralStringSingle","value":"'__qualname__'"},
   250  {"type":"Punctuation","value":","},
   251  {"type":"Text","value":" "},
   252  {"type":"KeywordConstant","value":"None"},
   253  {"type":"Punctuation","value":")"},
   254  {"type":"Text","value":"\n\n    "},
   255  {"type":"Keyword","value":"def"},
   256  {"type":"Text","value":" "},
   257  {"type":"NameFunctionMagic","value":"__repr__"},
   258  {"type":"Punctuation","value":"("},
   259  {"type":"NameBuiltinPseudo","value":"self"},
   260  {"type":"Punctuation","value":"):"},
   261  {"type":"Text","value":"\n        "},
   262  {"type":"Name","value":"coro_repr"},
   263  {"type":"Text","value":" "},
   264  {"type":"Operator","value":"="},
   265  {"type":"Text","value":" "},
   266  {"type":"Name","value":"_format_coroutine"},
   267  {"type":"Punctuation","value":"("},
   268  {"type":"NameBuiltinPseudo","value":"self"},
   269  {"type":"Punctuation","value":")"},
   270  {"type":"Text","value":"\n        "},
   271  {"type":"Keyword","value":"if"},
   272  {"type":"Text","value":" "},
   273  {"type":"NameBuiltinPseudo","value":"self"},
   274  {"type":"Operator","value":"."},
   275  {"type":"Name","value":"_source_traceback"},
   276  {"type":"Punctuation","value":":"},
   277  {"type":"Text","value":"\n            "},
   278  {"type":"Name","value":"frame"},
   279  {"type":"Text","value":" "},
   280  {"type":"Operator","value":"="},
   281  {"type":"Text","value":" "},
   282  {"type":"NameBuiltinPseudo","value":"self"},
   283  {"type":"Operator","value":"."},
   284  {"type":"Name","value":"_source_traceback"},
   285  {"type":"Punctuation","value":"["},
   286  {"type":"Operator","value":"-"},
   287  {"type":"LiteralNumberInteger","value":"1"},
   288  {"type":"Punctuation","value":"]"},
   289  {"type":"Text","value":"\n            "},
   290  {"type":"Name","value":"coro_repr"},
   291  {"type":"Text","value":" "},
   292  {"type":"Operator","value":"+="},
   293  {"type":"Text","value":" "},
   294  {"type":"LiteralStringAffix","value":"f"},
   295  {"type":"LiteralStringSingle","value":"', created at "},
   296  {"type":"LiteralStringInterpol","value":"{"},
   297  {"type":"Name","value":"frame"},
   298  {"type":"Punctuation","value":"["},
   299  {"type":"LiteralNumberInteger","value":"0"},
   300  {"type":"Punctuation","value":"]"},
   301  {"type":"LiteralStringInterpol","value":"}"},
   302  {"type":"LiteralStringSingle","value":":"},
   303  {"type":"LiteralStringInterpol","value":"{"},
   304  {"type":"Name","value":"frame"},
   305  {"type":"Punctuation","value":"["},
   306  {"type":"LiteralNumberInteger","value":"1"},
   307  {"type":"Punctuation","value":"]"},
   308  {"type":"LiteralStringInterpol","value":"}"},
   309  {"type":"LiteralStringSingle","value":"'"},
   310  {"type":"Text","value":"\n\n        "},
   311  {"type":"Keyword","value":"return"},
   312  {"type":"Text","value":" "},
   313  {"type":"LiteralStringAffix","value":"f"},
   314  {"type":"LiteralStringSingle","value":"'\u003c"},
   315  {"type":"LiteralStringInterpol","value":"{"},
   316  {"type":"NameBuiltinPseudo","value":"self"},
   317  {"type":"Operator","value":"."},
   318  {"type":"NameVariableMagic","value":"__class__"},
   319  {"type":"Operator","value":"."},
   320  {"type":"NameVariableMagic","value":"__name__"},
   321  {"type":"LiteralStringInterpol","value":"}"},
   322  {"type":"LiteralStringSingle","value":" "},
   323  {"type":"LiteralStringInterpol","value":"{"},
   324  {"type":"Name","value":"coro_repr"},
   325  {"type":"LiteralStringInterpol","value":"}"},
   326  {"type":"LiteralStringSingle","value":"\u003e'"},
   327  {"type":"Text","value":"\n\n    "},
   328  {"type":"Keyword","value":"def"},
   329  {"type":"Text","value":" "},
   330  {"type":"NameFunctionMagic","value":"__iter__"},
   331  {"type":"Punctuation","value":"("},
   332  {"type":"NameBuiltinPseudo","value":"self"},
   333  {"type":"Punctuation","value":"):"},
   334  {"type":"Text","value":"\n        "},
   335  {"type":"Keyword","value":"return"},
   336  {"type":"Text","value":" "},
   337  {"type":"NameBuiltinPseudo","value":"self"},
   338  {"type":"Text","value":"\n\n    "},
   339  {"type":"Keyword","value":"def"},
   340  {"type":"Text","value":" "},
   341  {"type":"NameFunctionMagic","value":"__next__"},
   342  {"type":"Punctuation","value":"("},
   343  {"type":"NameBuiltinPseudo","value":"self"},
   344  {"type":"Punctuation","value":"):"},
   345  {"type":"Text","value":"\n        "},
   346  {"type":"Keyword","value":"return"},
   347  {"type":"Text","value":" "},
   348  {"type":"NameBuiltinPseudo","value":"self"},
   349  {"type":"Operator","value":"."},
   350  {"type":"Name","value":"gen"},
   351  {"type":"Operator","value":"."},
   352  {"type":"Name","value":"send"},
   353  {"type":"Punctuation","value":"("},
   354  {"type":"KeywordConstant","value":"None"},
   355  {"type":"Punctuation","value":")"},
   356  {"type":"Text","value":"\n\n    "},
   357  {"type":"Keyword","value":"def"},
   358  {"type":"Text","value":" "},
   359  {"type":"NameFunction","value":"send"},
   360  {"type":"Punctuation","value":"("},
   361  {"type":"NameBuiltinPseudo","value":"self"},
   362  {"type":"Punctuation","value":","},
   363  {"type":"Text","value":" "},
   364  {"type":"Name","value":"value"},
   365  {"type":"Punctuation","value":"):"},
   366  {"type":"Text","value":"\n        "},
   367  {"type":"Keyword","value":"return"},
   368  {"type":"Text","value":" "},
   369  {"type":"NameBuiltinPseudo","value":"self"},
   370  {"type":"Operator","value":"."},
   371  {"type":"Name","value":"gen"},
   372  {"type":"Operator","value":"."},
   373  {"type":"Name","value":"send"},
   374  {"type":"Punctuation","value":"("},
   375  {"type":"Name","value":"value"},
   376  {"type":"Punctuation","value":")"},
   377  {"type":"Text","value":"\n\n    "},
   378  {"type":"Keyword","value":"def"},
   379  {"type":"Text","value":" "},
   380  {"type":"NameFunction","value":"throw"},
   381  {"type":"Punctuation","value":"("},
   382  {"type":"NameBuiltinPseudo","value":"self"},
   383  {"type":"Punctuation","value":","},
   384  {"type":"Text","value":" "},
   385  {"type":"NameBuiltin","value":"type"},
   386  {"type":"Punctuation","value":","},
   387  {"type":"Text","value":" "},
   388  {"type":"Name","value":"value"},
   389  {"type":"Operator","value":"="},
   390  {"type":"KeywordConstant","value":"None"},
   391  {"type":"Punctuation","value":","},
   392  {"type":"Text","value":" "},
   393  {"type":"Name","value":"traceback"},
   394  {"type":"Operator","value":"="},
   395  {"type":"KeywordConstant","value":"None"},
   396  {"type":"Punctuation","value":"):"},
   397  {"type":"Text","value":"\n        "},
   398  {"type":"Keyword","value":"return"},
   399  {"type":"Text","value":" "},
   400  {"type":"NameBuiltinPseudo","value":"self"},
   401  {"type":"Operator","value":"."},
   402  {"type":"Name","value":"gen"},
   403  {"type":"Operator","value":"."},
   404  {"type":"Name","value":"throw"},
   405  {"type":"Punctuation","value":"("},
   406  {"type":"NameBuiltin","value":"type"},
   407  {"type":"Punctuation","value":","},
   408  {"type":"Text","value":" "},
   409  {"type":"Name","value":"value"},
   410  {"type":"Punctuation","value":","},
   411  {"type":"Text","value":" "},
   412  {"type":"Name","value":"traceback"},
   413  {"type":"Punctuation","value":")"},
   414  {"type":"Text","value":"\n\n    "},
   415  {"type":"Keyword","value":"def"},
   416  {"type":"Text","value":" "},
   417  {"type":"NameFunction","value":"close"},
   418  {"type":"Punctuation","value":"("},
   419  {"type":"NameBuiltinPseudo","value":"self"},
   420  {"type":"Punctuation","value":"):"},
   421  {"type":"Text","value":"\n        "},
   422  {"type":"Keyword","value":"return"},
   423  {"type":"Text","value":" "},
   424  {"type":"NameBuiltinPseudo","value":"self"},
   425  {"type":"Operator","value":"."},
   426  {"type":"Name","value":"gen"},
   427  {"type":"Operator","value":"."},
   428  {"type":"Name","value":"close"},
   429  {"type":"Punctuation","value":"()"},
   430  {"type":"Text","value":"\n\n    "},
   431  {"type":"NameDecorator","value":"@property"},
   432  {"type":"Text","value":"\n    "},
   433  {"type":"Keyword","value":"def"},
   434  {"type":"Text","value":" "},
   435  {"type":"NameFunction","value":"gi_frame"},
   436  {"type":"Punctuation","value":"("},
   437  {"type":"NameBuiltinPseudo","value":"self"},
   438  {"type":"Punctuation","value":"):"},
   439  {"type":"Text","value":"\n        "},
   440  {"type":"Keyword","value":"return"},
   441  {"type":"Text","value":" "},
   442  {"type":"NameBuiltinPseudo","value":"self"},
   443  {"type":"Operator","value":"."},
   444  {"type":"Name","value":"gen"},
   445  {"type":"Operator","value":"."},
   446  {"type":"Name","value":"gi_frame"},
   447  {"type":"Text","value":"\n\n    "},
   448  {"type":"NameDecorator","value":"@property"},
   449  {"type":"Text","value":"\n    "},
   450  {"type":"Keyword","value":"def"},
   451  {"type":"Text","value":" "},
   452  {"type":"NameFunction","value":"gi_running"},
   453  {"type":"Punctuation","value":"("},
   454  {"type":"NameBuiltinPseudo","value":"self"},
   455  {"type":"Punctuation","value":"):"},
   456  {"type":"Text","value":"\n        "},
   457  {"type":"Keyword","value":"return"},
   458  {"type":"Text","value":" "},
   459  {"type":"NameBuiltinPseudo","value":"self"},
   460  {"type":"Operator","value":"."},
   461  {"type":"Name","value":"gen"},
   462  {"type":"Operator","value":"."},
   463  {"type":"Name","value":"gi_running"},
   464  {"type":"Text","value":"\n\n    "},
   465  {"type":"NameDecorator","value":"@property"},
   466  {"type":"Text","value":"\n    "},
   467  {"type":"Keyword","value":"def"},
   468  {"type":"Text","value":" "},
   469  {"type":"NameFunction","value":"gi_code"},
   470  {"type":"Punctuation","value":"("},
   471  {"type":"NameBuiltinPseudo","value":"self"},
   472  {"type":"Punctuation","value":"):"},
   473  {"type":"Text","value":"\n        "},
   474  {"type":"Keyword","value":"return"},
   475  {"type":"Text","value":" "},
   476  {"type":"NameBuiltinPseudo","value":"self"},
   477  {"type":"Operator","value":"."},
   478  {"type":"Name","value":"gen"},
   479  {"type":"Operator","value":"."},
   480  {"type":"Name","value":"gi_code"},
   481  {"type":"Text","value":"\n\n    "},
   482  {"type":"Keyword","value":"def"},
   483  {"type":"Text","value":" "},
   484  {"type":"NameFunctionMagic","value":"__await__"},
   485  {"type":"Punctuation","value":"("},
   486  {"type":"NameBuiltinPseudo","value":"self"},
   487  {"type":"Punctuation","value":"):"},
   488  {"type":"Text","value":"\n        "},
   489  {"type":"Keyword","value":"return"},
   490  {"type":"Text","value":" "},
   491  {"type":"NameBuiltinPseudo","value":"self"},
   492  {"type":"Text","value":"\n\n    "},
   493  {"type":"NameDecorator","value":"@property"},
   494  {"type":"Text","value":"\n    "},
   495  {"type":"Keyword","value":"def"},
   496  {"type":"Text","value":" "},
   497  {"type":"NameFunction","value":"gi_yieldfrom"},
   498  {"type":"Punctuation","value":"("},
   499  {"type":"NameBuiltinPseudo","value":"self"},
   500  {"type":"Punctuation","value":"):"},
   501  {"type":"Text","value":"\n        "},
   502  {"type":"Keyword","value":"return"},
   503  {"type":"Text","value":" "},
   504  {"type":"NameBuiltinPseudo","value":"self"},
   505  {"type":"Operator","value":"."},
   506  {"type":"Name","value":"gen"},
   507  {"type":"Operator","value":"."},
   508  {"type":"Name","value":"gi_yieldfrom"},
   509  {"type":"Text","value":"\n\n    "},
   510  {"type":"Keyword","value":"def"},
   511  {"type":"Text","value":" "},
   512  {"type":"NameFunctionMagic","value":"__del__"},
   513  {"type":"Punctuation","value":"("},
   514  {"type":"NameBuiltinPseudo","value":"self"},
   515  {"type":"Punctuation","value":"):"},
   516  {"type":"Text","value":"\n        "},
   517  {"type":"CommentSingle","value":"# Be careful accessing self.gen.frame -- self.gen might not exist."},
   518  {"type":"Text","value":"\n        "},
   519  {"type":"Name","value":"gen"},
   520  {"type":"Text","value":" "},
   521  {"type":"Operator","value":"="},
   522  {"type":"Text","value":" "},
   523  {"type":"NameBuiltin","value":"getattr"},
   524  {"type":"Punctuation","value":"("},
   525  {"type":"NameBuiltinPseudo","value":"self"},
   526  {"type":"Punctuation","value":","},
   527  {"type":"Text","value":" "},
   528  {"type":"LiteralStringSingle","value":"'gen'"},
   529  {"type":"Punctuation","value":","},
   530  {"type":"Text","value":" "},
   531  {"type":"KeywordConstant","value":"None"},
   532  {"type":"Punctuation","value":")"},
   533  {"type":"Text","value":"\n        "},
   534  {"type":"Name","value":"frame"},
   535  {"type":"Text","value":" "},
   536  {"type":"Operator","value":"="},
   537  {"type":"Text","value":" "},
   538  {"type":"NameBuiltin","value":"getattr"},
   539  {"type":"Punctuation","value":"("},
   540  {"type":"Name","value":"gen"},
   541  {"type":"Punctuation","value":","},
   542  {"type":"Text","value":" "},
   543  {"type":"LiteralStringSingle","value":"'gi_frame'"},
   544  {"type":"Punctuation","value":","},
   545  {"type":"Text","value":" "},
   546  {"type":"KeywordConstant","value":"None"},
   547  {"type":"Punctuation","value":")"},
   548  {"type":"Text","value":"\n        "},
   549  {"type":"Keyword","value":"if"},
   550  {"type":"Text","value":" "},
   551  {"type":"Name","value":"frame"},
   552  {"type":"Text","value":" "},
   553  {"type":"OperatorWord","value":"is"},
   554  {"type":"Text","value":" "},
   555  {"type":"OperatorWord","value":"not"},
   556  {"type":"Text","value":" "},
   557  {"type":"KeywordConstant","value":"None"},
   558  {"type":"Text","value":" "},
   559  {"type":"OperatorWord","value":"and"},
   560  {"type":"Text","value":" "},
   561  {"type":"Name","value":"frame"},
   562  {"type":"Operator","value":"."},
   563  {"type":"Name","value":"f_lasti"},
   564  {"type":"Text","value":" "},
   565  {"type":"Operator","value":"=="},
   566  {"type":"Text","value":" "},
   567  {"type":"Operator","value":"-"},
   568  {"type":"LiteralNumberInteger","value":"1"},
   569  {"type":"Punctuation","value":":"},
   570  {"type":"Text","value":"\n            "},
   571  {"type":"Name","value":"msg"},
   572  {"type":"Text","value":" "},
   573  {"type":"Operator","value":"="},
   574  {"type":"Text","value":" "},
   575  {"type":"LiteralStringAffix","value":"f"},
   576  {"type":"LiteralStringSingle","value":"'"},
   577  {"type":"LiteralStringInterpol","value":"{"},
   578  {"type":"NameBuiltinPseudo","value":"self"},
   579  {"type":"LiteralStringInterpol","value":"!r}"},
   580  {"type":"LiteralStringSingle","value":" was never yielded from'"},
   581  {"type":"Text","value":"\n            "},
   582  {"type":"Name","value":"tb"},
   583  {"type":"Text","value":" "},
   584  {"type":"Operator","value":"="},
   585  {"type":"Text","value":" "},
   586  {"type":"NameBuiltin","value":"getattr"},
   587  {"type":"Punctuation","value":"("},
   588  {"type":"NameBuiltinPseudo","value":"self"},
   589  {"type":"Punctuation","value":","},
   590  {"type":"Text","value":" "},
   591  {"type":"LiteralStringSingle","value":"'_source_traceback'"},
   592  {"type":"Punctuation","value":","},
   593  {"type":"Text","value":" "},
   594  {"type":"Punctuation","value":"())"},
   595  {"type":"Text","value":"\n            "},
   596  {"type":"Keyword","value":"if"},
   597  {"type":"Text","value":" "},
   598  {"type":"Name","value":"tb"},
   599  {"type":"Punctuation","value":":"},
   600  {"type":"Text","value":"\n                "},
   601  {"type":"Name","value":"tb"},
   602  {"type":"Text","value":" "},
   603  {"type":"Operator","value":"="},
   604  {"type":"Text","value":" "},
   605  {"type":"LiteralStringSingle","value":"''"},
   606  {"type":"Operator","value":"."},
   607  {"type":"Name","value":"join"},
   608  {"type":"Punctuation","value":"("},
   609  {"type":"Name","value":"traceback"},
   610  {"type":"Operator","value":"."},
   611  {"type":"Name","value":"format_list"},
   612  {"type":"Punctuation","value":"("},
   613  {"type":"Name","value":"tb"},
   614  {"type":"Punctuation","value":"))"},
   615  {"type":"Text","value":"\n                "},
   616  {"type":"Name","value":"msg"},
   617  {"type":"Text","value":" "},
   618  {"type":"Operator","value":"+="},
   619  {"type":"Text","value":" "},
   620  {"type":"Punctuation","value":"("},
   621  {"type":"LiteralStringAffix","value":"f"},
   622  {"type":"LiteralStringSingle","value":"'"},
   623  {"type":"LiteralStringEscape","value":"\\n"},
   624  {"type":"LiteralStringSingle","value":"Coroutine object created at '"},
   625  {"type":"Text","value":"\n                        "},
   626  {"type":"LiteralStringAffix","value":"f"},
   627  {"type":"LiteralStringSingle","value":"'(most recent call last, truncated to '"},
   628  {"type":"Text","value":"\n                        "},
   629  {"type":"LiteralStringAffix","value":"f"},
   630  {"type":"LiteralStringSingle","value":"'"},
   631  {"type":"LiteralStringInterpol","value":"{"},
   632  {"type":"Name","value":"constants"},
   633  {"type":"Operator","value":"."},
   634  {"type":"Name","value":"DEBUG_STACK_DEPTH"},
   635  {"type":"LiteralStringInterpol","value":"}"},
   636  {"type":"LiteralStringSingle","value":" last lines):"},
   637  {"type":"LiteralStringEscape","value":"\\n"},
   638  {"type":"LiteralStringSingle","value":"'"},
   639  {"type":"Punctuation","value":")"},
   640  {"type":"Text","value":"\n                "},
   641  {"type":"Name","value":"msg"},
   642  {"type":"Text","value":" "},
   643  {"type":"Operator","value":"+="},
   644  {"type":"Text","value":" "},
   645  {"type":"Name","value":"tb"},
   646  {"type":"Operator","value":"."},
   647  {"type":"Name","value":"rstrip"},
   648  {"type":"Punctuation","value":"()"},
   649  {"type":"Text","value":"\n            "},
   650  {"type":"Name","value":"logger"},
   651  {"type":"Operator","value":"."},
   652  {"type":"Name","value":"error"},
   653  {"type":"Punctuation","value":"("},
   654  {"type":"Name","value":"msg"},
   655  {"type":"Punctuation","value":")"},
   656  {"type":"Text","value":"\n\n\n"},
   657  {"type":"Keyword","value":"def"},
   658  {"type":"Text","value":" "},
   659  {"type":"NameFunction","value":"coroutine"},
   660  {"type":"Punctuation","value":"("},
   661  {"type":"Name","value":"func"},
   662  {"type":"Punctuation","value":"):"},
   663  {"type":"Text","value":"\n    "},
   664  {"type":"LiteralStringDouble","value":"\"\"\"Decorator to mark coroutines.\n\n    If the coroutine is not yielded from before it is destroyed,\n    an error message is logged.\n    \"\"\""},
   665  {"type":"Text","value":"\n    "},
   666  {"type":"Name","value":"warnings"},
   667  {"type":"Operator","value":"."},
   668  {"type":"Name","value":"warn"},
   669  {"type":"Punctuation","value":"("},
   670  {"type":"LiteralStringSingle","value":"'\"@coroutine\" decorator is deprecated since Python 3.8, use \"async def\" instead'"},
   671  {"type":"Punctuation","value":","},
   672  {"type":"Text","value":"\n                  "},
   673  {"type":"NameException","value":"DeprecationWarning"},
   674  {"type":"Punctuation","value":","},
   675  {"type":"Text","value":"\n                  "},
   676  {"type":"Name","value":"stacklevel"},
   677  {"type":"Operator","value":"="},
   678  {"type":"LiteralNumberInteger","value":"2"},
   679  {"type":"Punctuation","value":")"},
   680  {"type":"Text","value":"\n    "},
   681  {"type":"Keyword","value":"if"},
   682  {"type":"Text","value":" "},
   683  {"type":"Name","value":"inspect"},
   684  {"type":"Operator","value":"."},
   685  {"type":"Name","value":"iscoroutinefunction"},
   686  {"type":"Punctuation","value":"("},
   687  {"type":"Name","value":"func"},
   688  {"type":"Punctuation","value":"):"},
   689  {"type":"Text","value":"\n        "},
   690  {"type":"CommentSingle","value":"# In Python 3.5 that's all we need to do for coroutines"},
   691  {"type":"Text","value":"\n        "},
   692  {"type":"CommentSingle","value":"# defined with \"async def\"."},
   693  {"type":"Text","value":"\n        "},
   694  {"type":"Keyword","value":"return"},
   695  {"type":"Text","value":" "},
   696  {"type":"Name","value":"func"},
   697  {"type":"Text","value":"\n\n    "},
   698  {"type":"Keyword","value":"if"},
   699  {"type":"Text","value":" "},
   700  {"type":"Name","value":"inspect"},
   701  {"type":"Operator","value":"."},
   702  {"type":"Name","value":"isgeneratorfunction"},
   703  {"type":"Punctuation","value":"("},
   704  {"type":"Name","value":"func"},
   705  {"type":"Punctuation","value":"):"},
   706  {"type":"Text","value":"\n        "},
   707  {"type":"Name","value":"coro"},
   708  {"type":"Text","value":" "},
   709  {"type":"Operator","value":"="},
   710  {"type":"Text","value":" "},
   711  {"type":"Name","value":"func"},
   712  {"type":"Text","value":"\n    "},
   713  {"type":"Keyword","value":"else"},
   714  {"type":"Punctuation","value":":"},
   715  {"type":"Text","value":"\n        "},
   716  {"type":"NameDecorator","value":"@functools.wraps"},
   717  {"type":"Punctuation","value":"("},
   718  {"type":"Name","value":"func"},
   719  {"type":"Punctuation","value":")"},
   720  {"type":"Text","value":"\n        "},
   721  {"type":"Keyword","value":"def"},
   722  {"type":"Text","value":" "},
   723  {"type":"NameFunction","value":"coro"},
   724  {"type":"Punctuation","value":"("},
   725  {"type":"Operator","value":"*"},
   726  {"type":"Name","value":"args"},
   727  {"type":"Punctuation","value":","},
   728  {"type":"Text","value":" "},
   729  {"type":"Operator","value":"**"},
   730  {"type":"Name","value":"kw"},
   731  {"type":"Punctuation","value":"):"},
   732  {"type":"Text","value":"\n            "},
   733  {"type":"Name","value":"res"},
   734  {"type":"Text","value":" "},
   735  {"type":"Operator","value":"="},
   736  {"type":"Text","value":" "},
   737  {"type":"Name","value":"func"},
   738  {"type":"Punctuation","value":"("},
   739  {"type":"Operator","value":"*"},
   740  {"type":"Name","value":"args"},
   741  {"type":"Punctuation","value":","},
   742  {"type":"Text","value":" "},
   743  {"type":"Operator","value":"**"},
   744  {"type":"Name","value":"kw"},
   745  {"type":"Punctuation","value":")"},
   746  {"type":"Text","value":"\n            "},
   747  {"type":"Keyword","value":"if"},
   748  {"type":"Text","value":" "},
   749  {"type":"Punctuation","value":"("},
   750  {"type":"Name","value":"base_futures"},
   751  {"type":"Operator","value":"."},
   752  {"type":"Name","value":"isfuture"},
   753  {"type":"Punctuation","value":"("},
   754  {"type":"Name","value":"res"},
   755  {"type":"Punctuation","value":")"},
   756  {"type":"Text","value":" "},
   757  {"type":"OperatorWord","value":"or"},
   758  {"type":"Text","value":" "},
   759  {"type":"Name","value":"inspect"},
   760  {"type":"Operator","value":"."},
   761  {"type":"Name","value":"isgenerator"},
   762  {"type":"Punctuation","value":"("},
   763  {"type":"Name","value":"res"},
   764  {"type":"Punctuation","value":")"},
   765  {"type":"Text","value":" "},
   766  {"type":"OperatorWord","value":"or"},
   767  {"type":"Text","value":"\n                    "},
   768  {"type":"NameBuiltin","value":"isinstance"},
   769  {"type":"Punctuation","value":"("},
   770  {"type":"Name","value":"res"},
   771  {"type":"Punctuation","value":","},
   772  {"type":"Text","value":" "},
   773  {"type":"Name","value":"CoroWrapper"},
   774  {"type":"Punctuation","value":")):"},
   775  {"type":"Text","value":"\n                "},
   776  {"type":"Name","value":"res"},
   777  {"type":"Text","value":" "},
   778  {"type":"Operator","value":"="},
   779  {"type":"Text","value":" "},
   780  {"type":"Keyword","value":"yield from"},
   781  {"type":"Text","value":" "},
   782  {"type":"Name","value":"res"},
   783  {"type":"Text","value":"\n            "},
   784  {"type":"Keyword","value":"else"},
   785  {"type":"Punctuation","value":":"},
   786  {"type":"Text","value":"\n                "},
   787  {"type":"CommentSingle","value":"# If 'res' is an awaitable, run it."},
   788  {"type":"Text","value":"\n                "},
   789  {"type":"Keyword","value":"try"},
   790  {"type":"Punctuation","value":":"},
   791  {"type":"Text","value":"\n                    "},
   792  {"type":"Name","value":"await_meth"},
   793  {"type":"Text","value":" "},
   794  {"type":"Operator","value":"="},
   795  {"type":"Text","value":" "},
   796  {"type":"Name","value":"res"},
   797  {"type":"Operator","value":"."},
   798  {"type":"NameFunctionMagic","value":"__await__"},
   799  {"type":"Text","value":"\n                "},
   800  {"type":"Keyword","value":"except"},
   801  {"type":"Text","value":" "},
   802  {"type":"NameException","value":"AttributeError"},
   803  {"type":"Punctuation","value":":"},
   804  {"type":"Text","value":"\n                    "},
   805  {"type":"Keyword","value":"pass"},
   806  {"type":"Text","value":"\n                "},
   807  {"type":"Keyword","value":"else"},
   808  {"type":"Punctuation","value":":"},
   809  {"type":"Text","value":"\n                    "},
   810  {"type":"Keyword","value":"if"},
   811  {"type":"Text","value":" "},
   812  {"type":"NameBuiltin","value":"isinstance"},
   813  {"type":"Punctuation","value":"("},
   814  {"type":"Name","value":"res"},
   815  {"type":"Punctuation","value":","},
   816  {"type":"Text","value":" "},
   817  {"type":"Name","value":"collections"},
   818  {"type":"Operator","value":"."},
   819  {"type":"Name","value":"abc"},
   820  {"type":"Operator","value":"."},
   821  {"type":"Name","value":"Awaitable"},
   822  {"type":"Punctuation","value":"):"},
   823  {"type":"Text","value":"\n                        "},
   824  {"type":"Name","value":"res"},
   825  {"type":"Text","value":" "},
   826  {"type":"Operator","value":"="},
   827  {"type":"Text","value":" "},
   828  {"type":"Keyword","value":"yield from"},
   829  {"type":"Text","value":" "},
   830  {"type":"Name","value":"await_meth"},
   831  {"type":"Punctuation","value":"()"},
   832  {"type":"Text","value":"\n            "},
   833  {"type":"Keyword","value":"return"},
   834  {"type":"Text","value":" "},
   835  {"type":"Name","value":"res"},
   836  {"type":"Text","value":"\n\n    "},
   837  {"type":"Name","value":"coro"},
   838  {"type":"Text","value":" "},
   839  {"type":"Operator","value":"="},
   840  {"type":"Text","value":" "},
   841  {"type":"Name","value":"types"},
   842  {"type":"Operator","value":"."},
   843  {"type":"Name","value":"coroutine"},
   844  {"type":"Punctuation","value":"("},
   845  {"type":"Name","value":"coro"},
   846  {"type":"Punctuation","value":")"},
   847  {"type":"Text","value":"\n    "},
   848  {"type":"Keyword","value":"if"},
   849  {"type":"Text","value":" "},
   850  {"type":"OperatorWord","value":"not"},
   851  {"type":"Text","value":" "},
   852  {"type":"Name","value":"_DEBUG"},
   853  {"type":"Punctuation","value":":"},
   854  {"type":"Text","value":"\n        "},
   855  {"type":"Name","value":"wrapper"},
   856  {"type":"Text","value":" "},
   857  {"type":"Operator","value":"="},
   858  {"type":"Text","value":" "},
   859  {"type":"Name","value":"coro"},
   860  {"type":"Text","value":"\n    "},
   861  {"type":"Keyword","value":"else"},
   862  {"type":"Punctuation","value":":"},
   863  {"type":"Text","value":"\n        "},
   864  {"type":"NameDecorator","value":"@functools.wraps"},
   865  {"type":"Punctuation","value":"("},
   866  {"type":"Name","value":"func"},
   867  {"type":"Punctuation","value":")"},
   868  {"type":"Text","value":"\n        "},
   869  {"type":"Keyword","value":"def"},
   870  {"type":"Text","value":" "},
   871  {"type":"NameFunction","value":"wrapper"},
   872  {"type":"Punctuation","value":"("},
   873  {"type":"Operator","value":"*"},
   874  {"type":"Name","value":"args"},
   875  {"type":"Punctuation","value":","},
   876  {"type":"Text","value":" "},
   877  {"type":"Operator","value":"**"},
   878  {"type":"Name","value":"kwds"},
   879  {"type":"Punctuation","value":"):"},
   880  {"type":"Text","value":"\n            "},
   881  {"type":"Name","value":"w"},
   882  {"type":"Text","value":" "},
   883  {"type":"Operator","value":"="},
   884  {"type":"Text","value":" "},
   885  {"type":"Name","value":"CoroWrapper"},
   886  {"type":"Punctuation","value":"("},
   887  {"type":"Name","value":"coro"},
   888  {"type":"Punctuation","value":"("},
   889  {"type":"Operator","value":"*"},
   890  {"type":"Name","value":"args"},
   891  {"type":"Punctuation","value":","},
   892  {"type":"Text","value":" "},
   893  {"type":"Operator","value":"**"},
   894  {"type":"Name","value":"kwds"},
   895  {"type":"Punctuation","value":"),"},
   896  {"type":"Text","value":" "},
   897  {"type":"Name","value":"func"},
   898  {"type":"Operator","value":"="},
   899  {"type":"Name","value":"func"},
   900  {"type":"Punctuation","value":")"},
   901  {"type":"Text","value":"\n            "},
   902  {"type":"Keyword","value":"if"},
   903  {"type":"Text","value":" "},
   904  {"type":"Name","value":"w"},
   905  {"type":"Operator","value":"."},
   906  {"type":"Name","value":"_source_traceback"},
   907  {"type":"Punctuation","value":":"},
   908  {"type":"Text","value":"\n                "},
   909  {"type":"Keyword","value":"del"},
   910  {"type":"Text","value":" "},
   911  {"type":"Name","value":"w"},
   912  {"type":"Operator","value":"."},
   913  {"type":"Name","value":"_source_traceback"},
   914  {"type":"Punctuation","value":"["},
   915  {"type":"Operator","value":"-"},
   916  {"type":"LiteralNumberInteger","value":"1"},
   917  {"type":"Punctuation","value":"]"},
   918  {"type":"Text","value":"\n            "},
   919  {"type":"CommentSingle","value":"# Python \u003c 3.5 does not implement __qualname__"},
   920  {"type":"Text","value":"\n            "},
   921  {"type":"CommentSingle","value":"# on generator objects, so we set it manually."},
   922  {"type":"Text","value":"\n            "},
   923  {"type":"CommentSingle","value":"# We use getattr as some callables (such as"},
   924  {"type":"Text","value":"\n            "},
   925  {"type":"CommentSingle","value":"# functools.partial may lack __qualname__)."},
   926  {"type":"Text","value":"\n            "},
   927  {"type":"Name","value":"w"},
   928  {"type":"Operator","value":"."},
   929  {"type":"NameVariableMagic","value":"__name__"},
   930  {"type":"Text","value":" "},
   931  {"type":"Operator","value":"="},
   932  {"type":"Text","value":" "},
   933  {"type":"NameBuiltin","value":"getattr"},
   934  {"type":"Punctuation","value":"("},
   935  {"type":"Name","value":"func"},
   936  {"type":"Punctuation","value":","},
   937  {"type":"Text","value":" "},
   938  {"type":"LiteralStringSingle","value":"'__name__'"},
   939  {"type":"Punctuation","value":","},
   940  {"type":"Text","value":" "},
   941  {"type":"KeywordConstant","value":"None"},
   942  {"type":"Punctuation","value":")"},
   943  {"type":"Text","value":"\n            "},
   944  {"type":"Name","value":"w"},
   945  {"type":"Operator","value":"."},
   946  {"type":"NameVariableMagic","value":"__qualname__"},
   947  {"type":"Text","value":" "},
   948  {"type":"Operator","value":"="},
   949  {"type":"Text","value":" "},
   950  {"type":"NameBuiltin","value":"getattr"},
   951  {"type":"Punctuation","value":"("},
   952  {"type":"Name","value":"func"},
   953  {"type":"Punctuation","value":","},
   954  {"type":"Text","value":" "},
   955  {"type":"LiteralStringSingle","value":"'__qualname__'"},
   956  {"type":"Punctuation","value":","},
   957  {"type":"Text","value":" "},
   958  {"type":"KeywordConstant","value":"None"},
   959  {"type":"Punctuation","value":")"},
   960  {"type":"Text","value":"\n            "},
   961  {"type":"Keyword","value":"return"},
   962  {"type":"Text","value":" "},
   963  {"type":"Name","value":"w"},
   964  {"type":"Text","value":"\n\n    "},
   965  {"type":"Name","value":"wrapper"},
   966  {"type":"Operator","value":"."},
   967  {"type":"Name","value":"_is_coroutine"},
   968  {"type":"Text","value":" "},
   969  {"type":"Operator","value":"="},
   970  {"type":"Text","value":" "},
   971  {"type":"Name","value":"_is_coroutine"},
   972  {"type":"Text","value":"  "},
   973  {"type":"CommentSingle","value":"# For iscoroutinefunction()."},
   974  {"type":"Text","value":"\n    "},
   975  {"type":"Keyword","value":"return"},
   976  {"type":"Text","value":" "},
   977  {"type":"Name","value":"wrapper"},
   978  {"type":"Text","value":"\n\n\n"},
   979  {"type":"CommentSingle","value":"# A marker for iscoroutinefunction."},
   980  {"type":"Text","value":"\n"},
   981  {"type":"Name","value":"_is_coroutine"},
   982  {"type":"Text","value":" "},
   983  {"type":"Operator","value":"="},
   984  {"type":"Text","value":" "},
   985  {"type":"NameBuiltin","value":"object"},
   986  {"type":"Punctuation","value":"()"},
   987  {"type":"Text","value":"\n\n\n"},
   988  {"type":"Keyword","value":"def"},
   989  {"type":"Text","value":" "},
   990  {"type":"NameFunction","value":"iscoroutinefunction"},
   991  {"type":"Punctuation","value":"("},
   992  {"type":"Name","value":"func"},
   993  {"type":"Punctuation","value":"):"},
   994  {"type":"Text","value":"\n    "},
   995  {"type":"LiteralStringDouble","value":"\"\"\"Return True if func is a decorated coroutine function.\"\"\""},
   996  {"type":"Text","value":"\n    "},
   997  {"type":"Keyword","value":"return"},
   998  {"type":"Text","value":" "},
   999  {"type":"Punctuation","value":"("},
  1000  {"type":"Name","value":"inspect"},
  1001  {"type":"Operator","value":"."},
  1002  {"type":"Name","value":"iscoroutinefunction"},
  1003  {"type":"Punctuation","value":"("},
  1004  {"type":"Name","value":"func"},
  1005  {"type":"Punctuation","value":")"},
  1006  {"type":"Text","value":" "},
  1007  {"type":"OperatorWord","value":"or"},
  1008  {"type":"Text","value":"\n            "},
  1009  {"type":"NameBuiltin","value":"getattr"},
  1010  {"type":"Punctuation","value":"("},
  1011  {"type":"Name","value":"func"},
  1012  {"type":"Punctuation","value":","},
  1013  {"type":"Text","value":" "},
  1014  {"type":"LiteralStringSingle","value":"'_is_coroutine'"},
  1015  {"type":"Punctuation","value":","},
  1016  {"type":"Text","value":" "},
  1017  {"type":"KeywordConstant","value":"None"},
  1018  {"type":"Punctuation","value":")"},
  1019  {"type":"Text","value":" "},
  1020  {"type":"OperatorWord","value":"is"},
  1021  {"type":"Text","value":" "},
  1022  {"type":"Name","value":"_is_coroutine"},
  1023  {"type":"Punctuation","value":")"},
  1024  {"type":"Text","value":"\n\n\n"},
  1025  {"type":"CommentSingle","value":"# Prioritize native coroutine check to speed-up"},
  1026  {"type":"Text","value":"\n"},
  1027  {"type":"CommentSingle","value":"# asyncio.iscoroutine."},
  1028  {"type":"Text","value":"\n"},
  1029  {"type":"Name","value":"_COROUTINE_TYPES"},
  1030  {"type":"Text","value":" "},
  1031  {"type":"Operator","value":"="},
  1032  {"type":"Text","value":" "},
  1033  {"type":"Punctuation","value":"("},
  1034  {"type":"Name","value":"types"},
  1035  {"type":"Operator","value":"."},
  1036  {"type":"Name","value":"CoroutineType"},
  1037  {"type":"Punctuation","value":","},
  1038  {"type":"Text","value":" "},
  1039  {"type":"Name","value":"types"},
  1040  {"type":"Operator","value":"."},
  1041  {"type":"Name","value":"GeneratorType"},
  1042  {"type":"Punctuation","value":","},
  1043  {"type":"Text","value":"\n                    "},
  1044  {"type":"Name","value":"collections"},
  1045  {"type":"Operator","value":"."},
  1046  {"type":"Name","value":"abc"},
  1047  {"type":"Operator","value":"."},
  1048  {"type":"Name","value":"Coroutine"},
  1049  {"type":"Punctuation","value":","},
  1050  {"type":"Text","value":" "},
  1051  {"type":"Name","value":"CoroWrapper"},
  1052  {"type":"Punctuation","value":")"},
  1053  {"type":"Text","value":"\n"},
  1054  {"type":"Name","value":"_iscoroutine_typecache"},
  1055  {"type":"Text","value":" "},
  1056  {"type":"Operator","value":"="},
  1057  {"type":"Text","value":" "},
  1058  {"type":"NameBuiltin","value":"set"},
  1059  {"type":"Punctuation","value":"()"},
  1060  {"type":"Text","value":"\n\n\n"},
  1061  {"type":"Keyword","value":"def"},
  1062  {"type":"Text","value":" "},
  1063  {"type":"NameFunction","value":"iscoroutine"},
  1064  {"type":"Punctuation","value":"("},
  1065  {"type":"Name","value":"obj"},
  1066  {"type":"Punctuation","value":"):"},
  1067  {"type":"Text","value":"\n    "},
  1068  {"type":"LiteralStringDouble","value":"\"\"\"Return True if obj is a coroutine object.\"\"\""},
  1069  {"type":"Text","value":"\n    "},
  1070  {"type":"Keyword","value":"if"},
  1071  {"type":"Text","value":" "},
  1072  {"type":"NameBuiltin","value":"type"},
  1073  {"type":"Punctuation","value":"("},
  1074  {"type":"Name","value":"obj"},
  1075  {"type":"Punctuation","value":")"},
  1076  {"type":"Text","value":" "},
  1077  {"type":"OperatorWord","value":"in"},
  1078  {"type":"Text","value":" "},
  1079  {"type":"Name","value":"_iscoroutine_typecache"},
  1080  {"type":"Punctuation","value":":"},
  1081  {"type":"Text","value":"\n        "},
  1082  {"type":"Keyword","value":"return"},
  1083  {"type":"Text","value":" "},
  1084  {"type":"KeywordConstant","value":"True"},
  1085  {"type":"Text","value":"\n\n    "},
  1086  {"type":"Keyword","value":"if"},
  1087  {"type":"Text","value":" "},
  1088  {"type":"NameBuiltin","value":"isinstance"},
  1089  {"type":"Punctuation","value":"("},
  1090  {"type":"Name","value":"obj"},
  1091  {"type":"Punctuation","value":","},
  1092  {"type":"Text","value":" "},
  1093  {"type":"Name","value":"_COROUTINE_TYPES"},
  1094  {"type":"Punctuation","value":"):"},
  1095  {"type":"Text","value":"\n        "},
  1096  {"type":"CommentSingle","value":"# Just in case we don't want to cache more than 100"},
  1097  {"type":"Text","value":"\n        "},
  1098  {"type":"CommentSingle","value":"# positive types.  That shouldn't ever happen, unless"},
  1099  {"type":"Text","value":"\n        "},
  1100  {"type":"CommentSingle","value":"# someone stressing the system on purpose."},
  1101  {"type":"Text","value":"\n        "},
  1102  {"type":"Keyword","value":"if"},
  1103  {"type":"Text","value":" "},
  1104  {"type":"NameBuiltin","value":"len"},
  1105  {"type":"Punctuation","value":"("},
  1106  {"type":"Name","value":"_iscoroutine_typecache"},
  1107  {"type":"Punctuation","value":")"},
  1108  {"type":"Text","value":" "},
  1109  {"type":"Operator","value":"\u003c"},
  1110  {"type":"Text","value":" "},
  1111  {"type":"LiteralNumberInteger","value":"100"},
  1112  {"type":"Punctuation","value":":"},
  1113  {"type":"Text","value":"\n            "},
  1114  {"type":"Name","value":"_iscoroutine_typecache"},
  1115  {"type":"Operator","value":"."},
  1116  {"type":"Name","value":"add"},
  1117  {"type":"Punctuation","value":"("},
  1118  {"type":"NameBuiltin","value":"type"},
  1119  {"type":"Punctuation","value":"("},
  1120  {"type":"Name","value":"obj"},
  1121  {"type":"Punctuation","value":"))"},
  1122  {"type":"Text","value":"\n        "},
  1123  {"type":"Keyword","value":"return"},
  1124  {"type":"Text","value":" "},
  1125  {"type":"KeywordConstant","value":"True"},
  1126  {"type":"Text","value":"\n    "},
  1127  {"type":"Keyword","value":"else"},
  1128  {"type":"Punctuation","value":":"},
  1129  {"type":"Text","value":"\n        "},
  1130  {"type":"Keyword","value":"return"},
  1131  {"type":"Text","value":" "},
  1132  {"type":"KeywordConstant","value":"False"},
  1133  {"type":"Text","value":"\n\n\n"},
  1134  {"type":"Keyword","value":"def"},
  1135  {"type":"Text","value":" "},
  1136  {"type":"NameFunction","value":"_format_coroutine"},
  1137  {"type":"Punctuation","value":"("},
  1138  {"type":"Name","value":"coro"},
  1139  {"type":"Punctuation","value":"):"},
  1140  {"type":"Text","value":"\n    "},
  1141  {"type":"Keyword","value":"assert"},
  1142  {"type":"Text","value":" "},
  1143  {"type":"Name","value":"iscoroutine"},
  1144  {"type":"Punctuation","value":"("},
  1145  {"type":"Name","value":"coro"},
  1146  {"type":"Punctuation","value":")"},
  1147  {"type":"Text","value":"\n\n    "},
  1148  {"type":"Name","value":"is_corowrapper"},
  1149  {"type":"Text","value":" "},
  1150  {"type":"Operator","value":"="},
  1151  {"type":"Text","value":" "},
  1152  {"type":"NameBuiltin","value":"isinstance"},
  1153  {"type":"Punctuation","value":"("},
  1154  {"type":"Name","value":"coro"},
  1155  {"type":"Punctuation","value":","},
  1156  {"type":"Text","value":" "},
  1157  {"type":"Name","value":"CoroWrapper"},
  1158  {"type":"Punctuation","value":")"},
  1159  {"type":"Text","value":"\n\n    "},
  1160  {"type":"Keyword","value":"def"},
  1161  {"type":"Text","value":" "},
  1162  {"type":"NameFunction","value":"get_name"},
  1163  {"type":"Punctuation","value":"("},
  1164  {"type":"Name","value":"coro"},
  1165  {"type":"Punctuation","value":"):"},
  1166  {"type":"Text","value":"\n        "},
  1167  {"type":"CommentSingle","value":"# Coroutines compiled with Cython sometimes don't have"},
  1168  {"type":"Text","value":"\n        "},
  1169  {"type":"CommentSingle","value":"# proper __qualname__ or __name__.  While that is a bug"},
  1170  {"type":"Text","value":"\n        "},
  1171  {"type":"CommentSingle","value":"# in Cython, asyncio shouldn't crash with an AttributeError"},
  1172  {"type":"Text","value":"\n        "},
  1173  {"type":"CommentSingle","value":"# in its __repr__ functions."},
  1174  {"type":"Text","value":"\n        "},
  1175  {"type":"Keyword","value":"if"},
  1176  {"type":"Text","value":" "},
  1177  {"type":"Name","value":"is_corowrapper"},
  1178  {"type":"Punctuation","value":":"},
  1179  {"type":"Text","value":"\n            "},
  1180  {"type":"Keyword","value":"return"},
  1181  {"type":"Text","value":" "},
  1182  {"type":"Name","value":"format_helpers"},
  1183  {"type":"Operator","value":"."},
  1184  {"type":"Name","value":"_format_callback"},
  1185  {"type":"Punctuation","value":"("},
  1186  {"type":"Name","value":"coro"},
  1187  {"type":"Operator","value":"."},
  1188  {"type":"Name","value":"func"},
  1189  {"type":"Punctuation","value":","},
  1190  {"type":"Text","value":" "},
  1191  {"type":"Punctuation","value":"(),"},
  1192  {"type":"Text","value":" "},
  1193  {"type":"Punctuation","value":"{})"},
  1194  {"type":"Text","value":"\n\n        "},
  1195  {"type":"Keyword","value":"if"},
  1196  {"type":"Text","value":" "},
  1197  {"type":"NameBuiltin","value":"hasattr"},
  1198  {"type":"Punctuation","value":"("},
  1199  {"type":"Name","value":"coro"},
  1200  {"type":"Punctuation","value":","},
  1201  {"type":"Text","value":" "},
  1202  {"type":"LiteralStringSingle","value":"'__qualname__'"},
  1203  {"type":"Punctuation","value":")"},
  1204  {"type":"Text","value":" "},
  1205  {"type":"OperatorWord","value":"and"},
  1206  {"type":"Text","value":" "},
  1207  {"type":"Name","value":"coro"},
  1208  {"type":"Operator","value":"."},
  1209  {"type":"NameVariableMagic","value":"__qualname__"},
  1210  {"type":"Punctuation","value":":"},
  1211  {"type":"Text","value":"\n            "},
  1212  {"type":"Name","value":"coro_name"},
  1213  {"type":"Text","value":" "},
  1214  {"type":"Operator","value":"="},
  1215  {"type":"Text","value":" "},
  1216  {"type":"Name","value":"coro"},
  1217  {"type":"Operator","value":"."},
  1218  {"type":"NameVariableMagic","value":"__qualname__"},
  1219  {"type":"Text","value":"\n        "},
  1220  {"type":"Keyword","value":"elif"},
  1221  {"type":"Text","value":" "},
  1222  {"type":"NameBuiltin","value":"hasattr"},
  1223  {"type":"Punctuation","value":"("},
  1224  {"type":"Name","value":"coro"},
  1225  {"type":"Punctuation","value":","},
  1226  {"type":"Text","value":" "},
  1227  {"type":"LiteralStringSingle","value":"'__name__'"},
  1228  {"type":"Punctuation","value":")"},
  1229  {"type":"Text","value":" "},
  1230  {"type":"OperatorWord","value":"and"},
  1231  {"type":"Text","value":" "},
  1232  {"type":"Name","value":"coro"},
  1233  {"type":"Operator","value":"."},
  1234  {"type":"NameVariableMagic","value":"__name__"},
  1235  {"type":"Punctuation","value":":"},
  1236  {"type":"Text","value":"\n            "},
  1237  {"type":"Name","value":"coro_name"},
  1238  {"type":"Text","value":" "},
  1239  {"type":"Operator","value":"="},
  1240  {"type":"Text","value":" "},
  1241  {"type":"Name","value":"coro"},
  1242  {"type":"Operator","value":"."},
  1243  {"type":"NameVariableMagic","value":"__name__"},
  1244  {"type":"Text","value":"\n        "},
  1245  {"type":"Keyword","value":"else"},
  1246  {"type":"Punctuation","value":":"},
  1247  {"type":"Text","value":"\n            "},
  1248  {"type":"CommentSingle","value":"# Stop masking Cython bugs, expose them in a friendly way."},
  1249  {"type":"Text","value":"\n            "},
  1250  {"type":"Name","value":"coro_name"},
  1251  {"type":"Text","value":" "},
  1252  {"type":"Operator","value":"="},
  1253  {"type":"Text","value":" "},
  1254  {"type":"LiteralStringAffix","value":"f"},
  1255  {"type":"LiteralStringSingle","value":"'\u003c"},
  1256  {"type":"LiteralStringInterpol","value":"{"},
  1257  {"type":"NameBuiltin","value":"type"},
  1258  {"type":"Punctuation","value":"("},
  1259  {"type":"Name","value":"coro"},
  1260  {"type":"Punctuation","value":")"},
  1261  {"type":"Operator","value":"."},
  1262  {"type":"NameVariableMagic","value":"__name__"},
  1263  {"type":"LiteralStringInterpol","value":"}"},
  1264  {"type":"LiteralStringSingle","value":" without __name__\u003e'"},
  1265  {"type":"Text","value":"\n        "},
  1266  {"type":"Keyword","value":"return"},
  1267  {"type":"Text","value":" "},
  1268  {"type":"LiteralStringAffix","value":"f"},
  1269  {"type":"LiteralStringSingle","value":"'"},
  1270  {"type":"LiteralStringInterpol","value":"{"},
  1271  {"type":"Name","value":"coro_name"},
  1272  {"type":"LiteralStringInterpol","value":"}"},
  1273  {"type":"LiteralStringSingle","value":"()'"},
  1274  {"type":"Text","value":"\n\n    "},
  1275  {"type":"Keyword","value":"def"},
  1276  {"type":"Text","value":" "},
  1277  {"type":"NameFunction","value":"is_running"},
  1278  {"type":"Punctuation","value":"("},
  1279  {"type":"Name","value":"coro"},
  1280  {"type":"Punctuation","value":"):"},
  1281  {"type":"Text","value":"\n        "},
  1282  {"type":"Keyword","value":"try"},
  1283  {"type":"Punctuation","value":":"},
  1284  {"type":"Text","value":"\n            "},
  1285  {"type":"Keyword","value":"return"},
  1286  {"type":"Text","value":" "},
  1287  {"type":"Name","value":"coro"},
  1288  {"type":"Operator","value":"."},
  1289  {"type":"Name","value":"cr_running"},
  1290  {"type":"Text","value":"\n        "},
  1291  {"type":"Keyword","value":"except"},
  1292  {"type":"Text","value":" "},
  1293  {"type":"NameException","value":"AttributeError"},
  1294  {"type":"Punctuation","value":":"},
  1295  {"type":"Text","value":"\n            "},
  1296  {"type":"Keyword","value":"try"},
  1297  {"type":"Punctuation","value":":"},
  1298  {"type":"Text","value":"\n                "},
  1299  {"type":"Keyword","value":"return"},
  1300  {"type":"Text","value":" "},
  1301  {"type":"Name","value":"coro"},
  1302  {"type":"Operator","value":"."},
  1303  {"type":"Name","value":"gi_running"},
  1304  {"type":"Text","value":"\n            "},
  1305  {"type":"Keyword","value":"except"},
  1306  {"type":"Text","value":" "},
  1307  {"type":"NameException","value":"AttributeError"},
  1308  {"type":"Punctuation","value":":"},
  1309  {"type":"Text","value":"\n                "},
  1310  {"type":"Keyword","value":"return"},
  1311  {"type":"Text","value":" "},
  1312  {"type":"KeywordConstant","value":"False"},
  1313  {"type":"Text","value":"\n\n    "},
  1314  {"type":"Name","value":"coro_code"},
  1315  {"type":"Text","value":" "},
  1316  {"type":"Operator","value":"="},
  1317  {"type":"Text","value":" "},
  1318  {"type":"KeywordConstant","value":"None"},
  1319  {"type":"Text","value":"\n    "},
  1320  {"type":"Keyword","value":"if"},
  1321  {"type":"Text","value":" "},
  1322  {"type":"NameBuiltin","value":"hasattr"},
  1323  {"type":"Punctuation","value":"("},
  1324  {"type":"Name","value":"coro"},
  1325  {"type":"Punctuation","value":","},
  1326  {"type":"Text","value":" "},
  1327  {"type":"LiteralStringSingle","value":"'cr_code'"},
  1328  {"type":"Punctuation","value":")"},
  1329  {"type":"Text","value":" "},
  1330  {"type":"OperatorWord","value":"and"},
  1331  {"type":"Text","value":" "},
  1332  {"type":"Name","value":"coro"},
  1333  {"type":"Operator","value":"."},
  1334  {"type":"Name","value":"cr_code"},
  1335  {"type":"Punctuation","value":":"},
  1336  {"type":"Text","value":"\n        "},
  1337  {"type":"Name","value":"coro_code"},
  1338  {"type":"Text","value":" "},
  1339  {"type":"Operator","value":"="},
  1340  {"type":"Text","value":" "},
  1341  {"type":"Name","value":"coro"},
  1342  {"type":"Operator","value":"."},
  1343  {"type":"Name","value":"cr_code"},
  1344  {"type":"Text","value":"\n    "},
  1345  {"type":"Keyword","value":"elif"},
  1346  {"type":"Text","value":" "},
  1347  {"type":"NameBuiltin","value":"hasattr"},
  1348  {"type":"Punctuation","value":"("},
  1349  {"type":"Name","value":"coro"},
  1350  {"type":"Punctuation","value":","},
  1351  {"type":"Text","value":" "},
  1352  {"type":"LiteralStringSingle","value":"'gi_code'"},
  1353  {"type":"Punctuation","value":")"},
  1354  {"type":"Text","value":" "},
  1355  {"type":"OperatorWord","value":"and"},
  1356  {"type":"Text","value":" "},
  1357  {"type":"Name","value":"coro"},
  1358  {"type":"Operator","value":"."},
  1359  {"type":"Name","value":"gi_code"},
  1360  {"type":"Punctuation","value":":"},
  1361  {"type":"Text","value":"\n        "},
  1362  {"type":"Name","value":"coro_code"},
  1363  {"type":"Text","value":" "},
  1364  {"type":"Operator","value":"="},
  1365  {"type":"Text","value":" "},
  1366  {"type":"Name","value":"coro"},
  1367  {"type":"Operator","value":"."},
  1368  {"type":"Name","value":"gi_code"},
  1369  {"type":"Text","value":"\n\n    "},
  1370  {"type":"Name","value":"coro_name"},
  1371  {"type":"Text","value":" "},
  1372  {"type":"Operator","value":"="},
  1373  {"type":"Text","value":" "},
  1374  {"type":"Name","value":"get_name"},
  1375  {"type":"Punctuation","value":"("},
  1376  {"type":"Name","value":"coro"},
  1377  {"type":"Punctuation","value":")"},
  1378  {"type":"Text","value":"\n\n    "},
  1379  {"type":"Keyword","value":"if"},
  1380  {"type":"Text","value":" "},
  1381  {"type":"OperatorWord","value":"not"},
  1382  {"type":"Text","value":" "},
  1383  {"type":"Name","value":"coro_code"},
  1384  {"type":"Punctuation","value":":"},
  1385  {"type":"Text","value":"\n        "},
  1386  {"type":"CommentSingle","value":"# Built-in types might not have __qualname__ or __name__."},
  1387  {"type":"Text","value":"\n        "},
  1388  {"type":"Keyword","value":"if"},
  1389  {"type":"Text","value":" "},
  1390  {"type":"Name","value":"is_running"},
  1391  {"type":"Punctuation","value":"("},
  1392  {"type":"Name","value":"coro"},
  1393  {"type":"Punctuation","value":"):"},
  1394  {"type":"Text","value":"\n            "},
  1395  {"type":"Keyword","value":"return"},
  1396  {"type":"Text","value":" "},
  1397  {"type":"LiteralStringAffix","value":"f"},
  1398  {"type":"LiteralStringSingle","value":"'"},
  1399  {"type":"LiteralStringInterpol","value":"{"},
  1400  {"type":"Name","value":"coro_name"},
  1401  {"type":"LiteralStringInterpol","value":"}"},
  1402  {"type":"LiteralStringSingle","value":" running'"},
  1403  {"type":"Text","value":"\n        "},
  1404  {"type":"Keyword","value":"else"},
  1405  {"type":"Punctuation","value":":"},
  1406  {"type":"Text","value":"\n            "},
  1407  {"type":"Keyword","value":"return"},
  1408  {"type":"Text","value":" "},
  1409  {"type":"Name","value":"coro_name"},
  1410  {"type":"Text","value":"\n\n    "},
  1411  {"type":"Name","value":"coro_frame"},
  1412  {"type":"Text","value":" "},
  1413  {"type":"Operator","value":"="},
  1414  {"type":"Text","value":" "},
  1415  {"type":"KeywordConstant","value":"None"},
  1416  {"type":"Text","value":"\n    "},
  1417  {"type":"Keyword","value":"if"},
  1418  {"type":"Text","value":" "},
  1419  {"type":"NameBuiltin","value":"hasattr"},
  1420  {"type":"Punctuation","value":"("},
  1421  {"type":"Name","value":"coro"},
  1422  {"type":"Punctuation","value":","},
  1423  {"type":"Text","value":" "},
  1424  {"type":"LiteralStringSingle","value":"'gi_frame'"},
  1425  {"type":"Punctuation","value":")"},
  1426  {"type":"Text","value":" "},
  1427  {"type":"OperatorWord","value":"and"},
  1428  {"type":"Text","value":" "},
  1429  {"type":"Name","value":"coro"},
  1430  {"type":"Operator","value":"."},
  1431  {"type":"Name","value":"gi_frame"},
  1432  {"type":"Punctuation","value":":"},
  1433  {"type":"Text","value":"\n        "},
  1434  {"type":"Name","value":"coro_frame"},
  1435  {"type":"Text","value":" "},
  1436  {"type":"Operator","value":"="},
  1437  {"type":"Text","value":" "},
  1438  {"type":"Name","value":"coro"},
  1439  {"type":"Operator","value":"."},
  1440  {"type":"Name","value":"gi_frame"},
  1441  {"type":"Text","value":"\n    "},
  1442  {"type":"Keyword","value":"elif"},
  1443  {"type":"Text","value":" "},
  1444  {"type":"NameBuiltin","value":"hasattr"},
  1445  {"type":"Punctuation","value":"("},
  1446  {"type":"Name","value":"coro"},
  1447  {"type":"Punctuation","value":","},
  1448  {"type":"Text","value":" "},
  1449  {"type":"LiteralStringSingle","value":"'cr_frame'"},
  1450  {"type":"Punctuation","value":")"},
  1451  {"type":"Text","value":" "},
  1452  {"type":"OperatorWord","value":"and"},
  1453  {"type":"Text","value":" "},
  1454  {"type":"Name","value":"coro"},
  1455  {"type":"Operator","value":"."},
  1456  {"type":"Name","value":"cr_frame"},
  1457  {"type":"Punctuation","value":":"},
  1458  {"type":"Text","value":"\n        "},
  1459  {"type":"Name","value":"coro_frame"},
  1460  {"type":"Text","value":" "},
  1461  {"type":"Operator","value":"="},
  1462  {"type":"Text","value":" "},
  1463  {"type":"Name","value":"coro"},
  1464  {"type":"Operator","value":"."},
  1465  {"type":"Name","value":"cr_frame"},
  1466  {"type":"Text","value":"\n\n    "},
  1467  {"type":"CommentSingle","value":"# If Cython's coroutine has a fake code object without proper"},
  1468  {"type":"Text","value":"\n    "},
  1469  {"type":"CommentSingle","value":"# co_filename -- expose that."},
  1470  {"type":"Text","value":"\n    "},
  1471  {"type":"Name","value":"filename"},
  1472  {"type":"Text","value":" "},
  1473  {"type":"Operator","value":"="},
  1474  {"type":"Text","value":" "},
  1475  {"type":"Name","value":"coro_code"},
  1476  {"type":"Operator","value":"."},
  1477  {"type":"Name","value":"co_filename"},
  1478  {"type":"Text","value":" "},
  1479  {"type":"OperatorWord","value":"or"},
  1480  {"type":"Text","value":" "},
  1481  {"type":"LiteralStringSingle","value":"'\u003cempty co_filename\u003e'"},
  1482  {"type":"Text","value":"\n\n    "},
  1483  {"type":"Name","value":"lineno"},
  1484  {"type":"Text","value":" "},
  1485  {"type":"Operator","value":"="},
  1486  {"type":"Text","value":" "},
  1487  {"type":"LiteralNumberInteger","value":"0"},
  1488  {"type":"Text","value":"\n    "},
  1489  {"type":"Keyword","value":"if"},
  1490  {"type":"Text","value":" "},
  1491  {"type":"Punctuation","value":"("},
  1492  {"type":"Name","value":"is_corowrapper"},
  1493  {"type":"Text","value":" "},
  1494  {"type":"OperatorWord","value":"and"},
  1495  {"type":"Text","value":"\n            "},
  1496  {"type":"Name","value":"coro"},
  1497  {"type":"Operator","value":"."},
  1498  {"type":"Name","value":"func"},
  1499  {"type":"Text","value":" "},
  1500  {"type":"OperatorWord","value":"is"},
  1501  {"type":"Text","value":" "},
  1502  {"type":"OperatorWord","value":"not"},
  1503  {"type":"Text","value":" "},
  1504  {"type":"KeywordConstant","value":"None"},
  1505  {"type":"Text","value":" "},
  1506  {"type":"OperatorWord","value":"and"},
  1507  {"type":"Text","value":"\n            "},
  1508  {"type":"OperatorWord","value":"not"},
  1509  {"type":"Text","value":" "},
  1510  {"type":"Name","value":"inspect"},
  1511  {"type":"Operator","value":"."},
  1512  {"type":"Name","value":"isgeneratorfunction"},
  1513  {"type":"Punctuation","value":"("},
  1514  {"type":"Name","value":"coro"},
  1515  {"type":"Operator","value":"."},
  1516  {"type":"Name","value":"func"},
  1517  {"type":"Punctuation","value":")):"},
  1518  {"type":"Text","value":"\n        "},
  1519  {"type":"Name","value":"source"},
  1520  {"type":"Text","value":" "},
  1521  {"type":"Operator","value":"="},
  1522  {"type":"Text","value":" "},
  1523  {"type":"Name","value":"format_helpers"},
  1524  {"type":"Operator","value":"."},
  1525  {"type":"Name","value":"_get_function_source"},
  1526  {"type":"Punctuation","value":"("},
  1527  {"type":"Name","value":"coro"},
  1528  {"type":"Operator","value":"."},
  1529  {"type":"Name","value":"func"},
  1530  {"type":"Punctuation","value":")"},
  1531  {"type":"Text","value":"\n        "},
  1532  {"type":"Keyword","value":"if"},
  1533  {"type":"Text","value":" "},
  1534  {"type":"Name","value":"source"},
  1535  {"type":"Text","value":" "},
  1536  {"type":"OperatorWord","value":"is"},
  1537  {"type":"Text","value":" "},
  1538  {"type":"OperatorWord","value":"not"},
  1539  {"type":"Text","value":" "},
  1540  {"type":"KeywordConstant","value":"None"},
  1541  {"type":"Punctuation","value":":"},
  1542  {"type":"Text","value":"\n            "},
  1543  {"type":"Name","value":"filename"},
  1544  {"type":"Punctuation","value":","},
  1545  {"type":"Text","value":" "},
  1546  {"type":"Name","value":"lineno"},
  1547  {"type":"Text","value":" "},
  1548  {"type":"Operator","value":"="},
  1549  {"type":"Text","value":" "},
  1550  {"type":"Name","value":"source"},
  1551  {"type":"Text","value":"\n        "},
  1552  {"type":"Keyword","value":"if"},
  1553  {"type":"Text","value":" "},
  1554  {"type":"Name","value":"coro_frame"},
  1555  {"type":"Text","value":" "},
  1556  {"type":"OperatorWord","value":"is"},
  1557  {"type":"Text","value":" "},
  1558  {"type":"KeywordConstant","value":"None"},
  1559  {"type":"Punctuation","value":":"},
  1560  {"type":"Text","value":"\n            "},
  1561  {"type":"Name","value":"coro_repr"},
  1562  {"type":"Text","value":" "},
  1563  {"type":"Operator","value":"="},
  1564  {"type":"Text","value":" "},
  1565  {"type":"LiteralStringAffix","value":"f"},
  1566  {"type":"LiteralStringSingle","value":"'"},
  1567  {"type":"LiteralStringInterpol","value":"{"},
  1568  {"type":"Name","value":"coro_name"},
  1569  {"type":"LiteralStringInterpol","value":"}"},
  1570  {"type":"LiteralStringSingle","value":" done, defined at "},
  1571  {"type":"LiteralStringInterpol","value":"{"},
  1572  {"type":"Name","value":"filename"},
  1573  {"type":"LiteralStringInterpol","value":"}"},
  1574  {"type":"LiteralStringSingle","value":":"},
  1575  {"type":"LiteralStringInterpol","value":"{"},
  1576  {"type":"Name","value":"lineno"},
  1577  {"type":"LiteralStringInterpol","value":"}"},
  1578  {"type":"LiteralStringSingle","value":"'"},
  1579  {"type":"Text","value":"\n        "},
  1580  {"type":"Keyword","value":"else"},
  1581  {"type":"Punctuation","value":":"},
  1582  {"type":"Text","value":"\n            "},
  1583  {"type":"Name","value":"coro_repr"},
  1584  {"type":"Text","value":" "},
  1585  {"type":"Operator","value":"="},
  1586  {"type":"Text","value":" "},
  1587  {"type":"LiteralStringAffix","value":"f"},
  1588  {"type":"LiteralStringSingle","value":"'"},
  1589  {"type":"LiteralStringInterpol","value":"{"},
  1590  {"type":"Name","value":"coro_name"},
  1591  {"type":"LiteralStringInterpol","value":"}"},
  1592  {"type":"LiteralStringSingle","value":" running, defined at "},
  1593  {"type":"LiteralStringInterpol","value":"{"},
  1594  {"type":"Name","value":"filename"},
  1595  {"type":"LiteralStringInterpol","value":"}"},
  1596  {"type":"LiteralStringSingle","value":":"},
  1597  {"type":"LiteralStringInterpol","value":"{"},
  1598  {"type":"Name","value":"lineno"},
  1599  {"type":"LiteralStringInterpol","value":"}"},
  1600  {"type":"LiteralStringSingle","value":"'"},
  1601  {"type":"Text","value":"\n\n    "},
  1602  {"type":"Keyword","value":"elif"},
  1603  {"type":"Text","value":" "},
  1604  {"type":"Name","value":"coro_frame"},
  1605  {"type":"Text","value":" "},
  1606  {"type":"OperatorWord","value":"is"},
  1607  {"type":"Text","value":" "},
  1608  {"type":"OperatorWord","value":"not"},
  1609  {"type":"Text","value":" "},
  1610  {"type":"KeywordConstant","value":"None"},
  1611  {"type":"Punctuation","value":":"},
  1612  {"type":"Text","value":"\n        "},
  1613  {"type":"Name","value":"lineno"},
  1614  {"type":"Text","value":" "},
  1615  {"type":"Operator","value":"="},
  1616  {"type":"Text","value":" "},
  1617  {"type":"Name","value":"coro_frame"},
  1618  {"type":"Operator","value":"."},
  1619  {"type":"Name","value":"f_lineno"},
  1620  {"type":"Text","value":"\n        "},
  1621  {"type":"Name","value":"coro_repr"},
  1622  {"type":"Text","value":" "},
  1623  {"type":"Operator","value":"="},
  1624  {"type":"Text","value":" "},
  1625  {"type":"LiteralStringAffix","value":"f"},
  1626  {"type":"LiteralStringSingle","value":"'"},
  1627  {"type":"LiteralStringInterpol","value":"{"},
  1628  {"type":"Name","value":"coro_name"},
  1629  {"type":"LiteralStringInterpol","value":"}"},
  1630  {"type":"LiteralStringSingle","value":" running at "},
  1631  {"type":"LiteralStringInterpol","value":"{"},
  1632  {"type":"Name","value":"filename"},
  1633  {"type":"LiteralStringInterpol","value":"}"},
  1634  {"type":"LiteralStringSingle","value":":"},
  1635  {"type":"LiteralStringInterpol","value":"{"},
  1636  {"type":"Name","value":"lineno"},
  1637  {"type":"LiteralStringInterpol","value":"}"},
  1638  {"type":"LiteralStringSingle","value":"'"},
  1639  {"type":"Text","value":"\n\n    "},
  1640  {"type":"Keyword","value":"else"},
  1641  {"type":"Punctuation","value":":"},
  1642  {"type":"Text","value":"\n        "},
  1643  {"type":"Name","value":"lineno"},
  1644  {"type":"Text","value":" "},
  1645  {"type":"Operator","value":"="},
  1646  {"type":"Text","value":" "},
  1647  {"type":"Name","value":"coro_code"},
  1648  {"type":"Operator","value":"."},
  1649  {"type":"Name","value":"co_firstlineno"},
  1650  {"type":"Text","value":"\n        "},
  1651  {"type":"Name","value":"coro_repr"},
  1652  {"type":"Text","value":" "},
  1653  {"type":"Operator","value":"="},
  1654  {"type":"Text","value":" "},
  1655  {"type":"LiteralStringAffix","value":"f"},
  1656  {"type":"LiteralStringSingle","value":"'"},
  1657  {"type":"LiteralStringInterpol","value":"{"},
  1658  {"type":"Name","value":"coro_name"},
  1659  {"type":"LiteralStringInterpol","value":"}"},
  1660  {"type":"LiteralStringSingle","value":" done, defined at "},
  1661  {"type":"LiteralStringInterpol","value":"{"},
  1662  {"type":"Name","value":"filename"},
  1663  {"type":"LiteralStringInterpol","value":"}"},
  1664  {"type":"LiteralStringSingle","value":":"},
  1665  {"type":"LiteralStringInterpol","value":"{"},
  1666  {"type":"Name","value":"lineno"},
  1667  {"type":"LiteralStringInterpol","value":"}"},
  1668  {"type":"LiteralStringSingle","value":"'"},
  1669  {"type":"Text","value":"\n\n    "},
  1670  {"type":"Keyword","value":"return"},
  1671  {"type":"Text","value":" "},
  1672  {"type":"Name","value":"coro_repr"},
  1673  {"type":"Text","value":"\n\n"}
  1674]

View as plain text