@@ -38,7 +38,7 @@ class UnsupportedOperation(OSError, ValueError):
38
38
39
39
40
40
class _IOBase (object ):
41
- def __init__ (self ):
41
+ def __init__ (self , ** kwargs ):
42
42
self .__IOBase_closed = False
43
43
44
44
def __enter__ (self ):
@@ -639,52 +639,35 @@ def __init__(self, inital_bytes=None):
639
639
640
640
641
641
class _TextIOBase (_IOBase ):
642
- def __init__ (self , * args , ** kwargs ):
643
- super (_TextIOBase , self ).__init__ (* args , ** kwargs )
642
+ pass
644
643
645
644
646
645
class StringIO (_TextIOBase ):
647
- def __init__ (self , * args , ** kwargs ):
648
- super (StringIO , self ).__init__ (* args , ** kwargs )
646
+ pass
649
647
650
648
651
649
class BufferedReader (_BufferedIOBase ):
652
- def __init__ (self , * args , ** kwargs ):
653
- super (BufferedReader , self ).__init__ (* args , ** kwargs )
654
-
655
- def _check_init (self ):
656
- pass
650
+ pass
657
651
658
652
659
653
class BufferedWriter (_BufferedIOBase ):
660
- def __init__ (self , * args , ** kwargs ):
661
- super (BufferedWriter , self ).__init__ (* args , ** kwargs )
654
+ pass
662
655
663
- def _check_init (self ):
664
- pass
665
656
666
657
class BufferedRWPair (_BufferedIOBase ):
667
- def __init__ (self , * args , ** kwargs ):
668
- super (BufferedRWPair , self ).__init__ (* args , ** kwargs )
669
-
670
- def _check_init (self ):
671
- pass
658
+ pass
672
659
673
660
674
661
class BufferedRandom (_BufferedIOBase ):
675
- def __init__ (self , * args , ** kwargs ):
676
- super (BufferedRandom , self ).__init__ (* args , ** kwargs )
662
+ pass
677
663
678
- def _check_init (self ):
679
- pass
680
664
681
665
class IncrementalNewlineDecoder (object ):
682
666
pass
683
667
684
668
685
669
class TextIOWrapper (_TextIOBase ):
686
- def __init__ (self , * args , ** kwargs ):
687
- super (TextIOWrapper , self ).__init__ (* args , ** kwargs )
670
+ pass
688
671
689
672
690
673
def open (* args , ** kwargs ):
0 commit comments