434 try: |
434 try: |
435 codeInfoDict["posonlyargcount"] = co.co_posonlyargcount |
435 codeInfoDict["posonlyargcount"] = co.co_posonlyargcount |
436 except AttributeError: |
436 except AttributeError: |
437 # does not exist prior to 3.8.0 |
437 # does not exist prior to 3.8.0 |
438 codeInfoDict["posonlyargcount"] = 0 |
438 codeInfoDict["posonlyargcount"] = 0 |
|
439 |
|
440 return codeInfoDict |
439 |
441 |
440 def __loadDIS(self): |
442 def __loadDIS(self): |
441 """ |
443 """ |
442 Private method to generate the Disassembly from the source of the |
444 Private method to generate the Disassembly from the source of the |
443 current editor and visualize it. |
445 current editor and visualize it. |