@@ -534,38 +534,6 @@ class CursorDictRowsMixIn(object):
534
534
535
535
_fetch_type = 1
536
536
537
- def fetchoneDict (self ):
538
- """Fetch a single row as a dictionary. Deprecated:
539
- Use fetchone() instead. Will be removed in 1.3."""
540
- from warnings import warn
541
- warn ("fetchoneDict() is non-standard and will be removed in 1.3" ,
542
- DeprecationWarning , 2 )
543
- return self .fetchone ()
544
-
545
- def fetchmanyDict (self , size = None ):
546
- """Fetch several rows as a list of dictionaries. Deprecated:
547
- Use fetchmany() instead. Will be removed in 1.3."""
548
- from warnings import warn
549
- warn ("fetchmanyDict() is non-standard and will be removed in 1.3" ,
550
- DeprecationWarning , 2 )
551
- return self .fetchmany (size )
552
-
553
- def fetchallDict (self ):
554
- """Fetch all available rows as a list of dictionaries. Deprecated:
555
- Use fetchall() instead. Will be removed in 1.3."""
556
- from warnings import warn
557
- warn ("fetchallDict() is non-standard and will be removed in 1.3" ,
558
- DeprecationWarning , 2 )
559
- return self .fetchall ()
560
-
561
-
562
- class CursorOldDictRowsMixIn (CursorDictRowsMixIn ):
563
- """This is a MixIn class that returns rows as dictionaries with
564
- the same key convention as the old Mysqldb (MySQLmodule). Don't
565
- use this."""
566
-
567
- _fetch_type = 2
568
-
569
537
570
538
class Cursor (CursorStoreResultMixIn , CursorTupleRowsMixIn ,
571
539
BaseCursor ):
@@ -589,5 +557,3 @@ class SSDictCursor(CursorUseResultMixIn, CursorDictRowsMixIn,
589
557
BaseCursor ):
590
558
"""This is a Cursor class that returns rows as dictionaries and
591
559
stores the result set in the server."""
592
-
593
-
0 commit comments