PEP8: W503
This commit is contained in:
		| @@ -900,8 +900,8 @@ def _windows_write_string(s, out): | ||||
|     def not_a_console(handle): | ||||
|         if handle == INVALID_HANDLE_VALUE or handle is None: | ||||
|             return True | ||||
|         return ((GetFileType(handle) & ~FILE_TYPE_REMOTE) != FILE_TYPE_CHAR | ||||
|                 or GetConsoleMode(handle, ctypes.byref(ctypes.wintypes.DWORD())) == 0) | ||||
|         return ((GetFileType(handle) & ~FILE_TYPE_REMOTE) != FILE_TYPE_CHAR or | ||||
|                 GetConsoleMode(handle, ctypes.byref(ctypes.wintypes.DWORD())) == 0) | ||||
|  | ||||
|     if not_a_console(h): | ||||
|         return False | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister