Ticket #8018: [PATCH] Update _win32stdio.py for zope.interface python3.patch

File [PATCH] Update _win32stdio.py for zope.interface python3.patch, 1.0 KB (added by Doadin, 4 years ago)
  • twisted/internet/_win32stdio.py

    From 7faf50d0af2efcb78015ca48b5ef4f6355ad0656 Mon Sep 17 00:00:00 2001
    From: doadin <tbkizle@gmail.com>
    Date: Tue, 8 Sep 2015 03:26:47 -0400
    Subject: [PATCH] Update _win32stdio.py for zope.interface python3
     compatibility
    
    ---
     twisted/internet/_win32stdio.py | 6 +++---
     1 file changed, 3 insertions(+), 3 deletions(-)
    
    diff --git a/twisted/internet/_win32stdio.py b/twisted/internet/_win32stdio.py
    index 65d4601..d232c37 100644
    a b  
    77import win32api
    88import os, msvcrt
    99
    10 from zope.interface import implements
     10from zope.interface import implementer
    1111
    1212from twisted.internet.interfaces import IHalfCloseableProtocol, ITransport, IAddress
    1313from twisted.internet.interfaces import IConsumer, IPushProducer
     
    1717
    1818
    1919class Win32PipeAddress(object):
    20     implements(IAddress)
     20    implementer(IAddress)
    2121
    2222
    2323
    2424class StandardIO(_pollingfile._PollingTimer):
    2525
    26     implements(ITransport,
     26    implementer(ITransport,
    2727               IConsumer,
    2828               IPushProducer)
    2929