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