Issue
I am reverse engineering for the purpose of fixing a script in Python. There is nothing about
from asyncio.windows_events import NULL
on the internet, and the documentation of asyncio is a little ambiguous. What does this line do? If I remove this line, will this affect the functionality of the code in any meaningful way?
Solution
from asyncio.windows_events import NULL
means exactly to import the name NULL
from the module asyncio.windows_events
.
That name is a re-export of _winapi.NULL
.
_winapi
is an extension module that is only compiled on Windows, and _winapi.NULL
is exactly the integer 0
.
In other words, you could probably replace that line with
NULL = 0
Answered By - AKX
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.