##// END OF EJS Templates
util: add a comment to suppress a PyCharm warning about a PEP 8 violation...
Matt Harbison -
r52773:8f3cbea2 default
parent child Browse files
Show More
@@ -3358,6 +3358,7 def _estimatememory() -> Optional[int]:
3358 """
3358 """
3359 if pycompat.sysplatform.startswith(b'win'):
3359 if pycompat.sysplatform.startswith(b'win'):
3360 # On Windows, use the GlobalMemoryStatusEx kernel function directly.
3360 # On Windows, use the GlobalMemoryStatusEx kernel function directly.
3361 # noinspection PyPep8Naming
3361 from ctypes import c_long as DWORD, c_ulonglong as DWORDLONG
3362 from ctypes import c_long as DWORD, c_ulonglong as DWORDLONG
3362 from ctypes.wintypes import ( # pytype: disable=import-error
3363 from ctypes.wintypes import ( # pytype: disable=import-error
3363 Structure,
3364 Structure,
General Comments 0
You need to be logged in to leave comments. Login now