-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPyAssistantDict.py
1237 lines (1129 loc) · 76.6 KB
/
PyAssistantDict.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
preDict={
'sqlite3':'',
'sqlite3':'''''',
'sqlite3.Cache':'''''',
'sqlite3.Cache.display':'''For debugging only.''',
'sqlite3.Cache.get':'''Gets an entry from the cache or calls the factory function to produce one.''',
'sqlite3.Connection':'''SQLite database connection object.''',
'sqlite3.Connection.DataError':'''''',
'sqlite3.Connection.DatabaseError':'''''',
'sqlite3.Connection.Error':'''''',
'sqlite3.Connection.IntegrityError':'''''',
'sqlite3.Connection.InterfaceError':'''''',
'sqlite3.Connection.InternalError':'''''',
'sqlite3.Connection.NotSupportedError':'''''',
'sqlite3.Connection.OperationalError':'''''',
'sqlite3.Connection.ProgrammingError':'''''',
'sqlite3.Connection.Warning':'''''',
'sqlite3.Connection.close':'''Closes the connection.''',
'sqlite3.Connection.commit':'''Commit the current transaction.''',
'sqlite3.Connection.create_aggregate':'''Creates a new aggregate. Non-standard.''',
'sqlite3.Connection.create_collation':'''Creates a collation function. Non-standard.''',
'sqlite3.Connection.create_function':'''Creates a new function. Non-standard.''',
'sqlite3.Connection.cursor':'''Return a cursor for the connection.''',
'sqlite3.Connection.enable_load_extension':'''Enable dynamic loading of SQLite extension modules. Non-standard.''',
'sqlite3.Connection.execute':'''Executes a SQL statement. Non-standard.''',
'sqlite3.Connection.executemany':'''Repeatedly executes a SQL statement. Non-standard.''',
'sqlite3.Connection.executescript':'''Executes a multiple SQL statements at once. Non-standard.''',
'sqlite3.Connection.interrupt':'''Abort any pending database operation. Non-standard.''',
'sqlite3.Connection.isolation_level':'''''',
'sqlite3.Connection.iterdump':'''Returns iterator to the dump of the database in an SQL text format. Non-standard.''',
'sqlite3.Connection.load_extension':'''Load SQLite extension module. Non-standard.''',
'sqlite3.Connection.rollback':'''Roll back the current transaction.''',
'sqlite3.Connection.row_factory':'''''',
'sqlite3.Connection.set_authorizer':'''Sets authorizer callback. Non-standard.''',
'sqlite3.Connection.set_progress_handler':'''Sets progress handler callback. Non-standard.''',
'sqlite3.Connection.text_factory':'''''',
'sqlite3.Connection.total_changes':'''''',
'sqlite3.Cursor':'''SQLite database cursor class.''',
'sqlite3.Cursor.arraysize':'''''',
'sqlite3.Cursor.close':'''Closes the cursor.''',
'sqlite3.Cursor.connection':'''''',
'sqlite3.Cursor.description':'''''',
'sqlite3.Cursor.execute':'''Executes a SQL statement.''',
'sqlite3.Cursor.executemany':'''Repeatedly executes a SQL statement.''',
'sqlite3.Cursor.executescript':'''Executes a multiple SQL statements at once. Non-standard.''',
'sqlite3.Cursor.fetchall':'''Fetches all rows from the resultset.''',
'sqlite3.Cursor.fetchmany':'''Fetches several rows from the resultset.''',
'sqlite3.Cursor.fetchone':'''Fetches one row from the resultset.''',
'sqlite3.Cursor.lastrowid':'''''',
'sqlite3.Cursor.next':'''x.next() -> the next value, or raise StopIteration''',
'sqlite3.Cursor.row_factory':'''''',
'sqlite3.Cursor.rowcount':'''''',
'sqlite3.Cursor.setinputsizes':'''Required by DB-API. Does nothing in pysqlite.''',
'sqlite3.Cursor.setoutputsize':'''Required by DB-API. Does nothing in pysqlite.''',
'sqlite3.DataError':'''''',
'sqlite3.DataError.args':'''''',
'sqlite3.DataError.message':'''''',
'sqlite3.DatabaseError':'''''',
'sqlite3.DatabaseError.args':'''''',
'sqlite3.DatabaseError.message':'''''',
'sqlite3.DateFromTicks':'''''',
'sqlite3.Error':'''''',
'sqlite3.Error.args':'''''',
'sqlite3.Error.message':'''''',
'sqlite3.IntegrityError':'''''',
'sqlite3.IntegrityError.args':'''''',
'sqlite3.IntegrityError.message':'''''',
'sqlite3.InterfaceError':'''''',
'sqlite3.InterfaceError.args':'''''',
'sqlite3.InterfaceError.message':'''''',
'sqlite3.InternalError':'''''',
'sqlite3.InternalError.args':'''''',
'sqlite3.InternalError.message':'''''',
'sqlite3.NotSupportedError':'''''',
'sqlite3.NotSupportedError.args':'''''',
'sqlite3.NotSupportedError.message':'''''',
'sqlite3.OperationalError':'''''',
'sqlite3.OperationalError.args':'''''',
'sqlite3.OperationalError.message':'''''',
'sqlite3.PrepareProtocol':'''''',
'sqlite3.ProgrammingError':'''''',
'sqlite3.ProgrammingError.args':'''''',
'sqlite3.ProgrammingError.message':'''''',
'sqlite3.Row':'''''',
'sqlite3.Row.keys':'''Returns the keys of the row.''',
'sqlite3.Statement':'''''',
'sqlite3.TimeFromTicks':'''''',
'sqlite3.TimestampFromTicks':'''''',
'sqlite3.Warning':'''''',
'sqlite3.Warning.args':'''''',
'sqlite3.Warning.message':'''''',
'sqlite3.adapt':'''adapt(obj, protocol, alternate) -> adapt obj to given protocol. Non-standard.''',
'sqlite3.buffer':'''buffer(object [, offset[, size]])
Create a new buffer object which references the given object.
The buffer will reference a slice of the target object from the
start of the object (or at the specified offset). The slice will
extend to the end of the target object (or with the specified size).''',
'sqlite3.cell':'''''',
'sqlite3.cell.cell_contents':'''''',
'sqlite3.collections':'''''',
'sqlite3.collections.Callable':'''''',
'sqlite3.collections.Container':'''''',
'sqlite3.collections.Counter':'''Dict subclass for counting hashable items. Sometimes called a bag
or multiset. Elements are stored as dictionary keys and their counts
are stored as dictionary values.
>>> c = Counter('abcdeabcdabcaba') # count elements from a string
>>> c.most_common(3) # three most common elements
[('a', 5), ('b', 4), ('c', 3)]
>>> sorted(c) # list all unique elements
['a', 'b', 'c', 'd', 'e']
>>> ''.join(sorted(c.elements())) # list elements with repetitions
'aaaaabbbbcccdde'
>>> sum(c.values()) # total of all counts
15
>>> c['a'] # count of letter 'a'
5
>>> for elem in 'shazam': # update counts from an iterable
... c[elem] += 1 # by adding 1 to each element's count
>>> c['a'] # now there are seven 'a'
7
>>> del c['b'] # remove all 'b'
>>> c['b'] # now there are zero 'b'
0
>>> d = Counter('simsalabim') # make another counter
>>> c.update(d) # add in the second counter
>>> c['a'] # now there are nine 'a'
9
>>> c.clear() # empty the counter
>>> c
Counter()
Note: If a count is set to zero or reduced to zero, it will remain
in the counter until the entry is deleted or the counter is cleared:
>>> c = Counter('aaabbc')
>>> c['b'] -= 2 # reduce the count of 'b' by two
>>> c.most_common() # 'b' is still in, but its count is zero
[('a', 3), ('c', 1), ('b', 0)]''',
'sqlite3.collections.Counter.clear':'''D.clear() -> None. Remove all items from D.''',
'sqlite3.collections.Counter.copy':'''Return a shallow copy.''',
'sqlite3.collections.Counter.elements':'''Iterator over elements repeating each as many times as its count.
>>> c = Counter('ABCABC')
>>> sorted(c.elements())
['A', 'A', 'B', 'B', 'C', 'C']
# Knuth's example for prime factors of 1836: 2**2 * 3**3 * 17**1
>>> prime_factors = Counter({2: 2, 3: 3, 17: 1})
>>> product = 1
>>> for factor in prime_factors.elements(): # loop over factors
... product *= factor # and multiply them
>>> product
1836
Note, if an element's count has been set to zero or is a negative
number, elements() will ignore it.''',
'sqlite3.collections.Counter.fromkeys':'''''',
'sqlite3.collections.Counter.get':'''D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.''',
'sqlite3.collections.Counter.has_key':'''D.has_key(k) -> True if D has a key k, else False''',
'sqlite3.collections.Counter.items':'''D.items() -> list of D's (key, value) pairs, as 2-tuples''',
'sqlite3.collections.Counter.iteritems':'''D.iteritems() -> an iterator over the (key, value) items of D''',
'sqlite3.collections.Counter.iterkeys':'''D.iterkeys() -> an iterator over the keys of D''',
'sqlite3.collections.Counter.itervalues':'''D.itervalues() -> an iterator over the values of D''',
'sqlite3.collections.Counter.keys':'''D.keys() -> list of D's keys''',
'sqlite3.collections.Counter.most_common':'''List the n most common elements and their counts from the most
common to the least. If n is None, then list all element counts.
>>> Counter('abcdeabcdabcaba').most_common(3)
[('a', 5), ('b', 4), ('c', 3)]''',
'sqlite3.collections.Counter.pop':'''D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If key is not found, d is returned if given, otherwise KeyError is raised''',
'sqlite3.collections.Counter.popitem':'''D.popitem() -> (k, v), remove and return some (key, value) pair as a
2-tuple; but raise KeyError if D is empty.''',
'sqlite3.collections.Counter.setdefault':'''D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D''',
'sqlite3.collections.Counter.subtract':'''Like dict.update() but subtracts counts instead of replacing them.
Counts can be reduced below zero. Both the inputs and outputs are
allowed to contain zero and negative counts.
Source can be an iterable, a dictionary, or another Counter instance.
>>> c = Counter('which')
>>> c.subtract('witch') # subtract elements from another iterable
>>> c.subtract(Counter('watch')) # subtract elements from another counter
>>> c['h'] # 2 in which, minus 1 in witch, minus 1 in watch
0
>>> c['w'] # 1 in which, minus 1 in witch, minus 1 in watch
-1''',
'sqlite3.collections.Counter.update':'''Like dict.update() but add counts instead of replacing them.
Source can be an iterable, a dictionary, or another Counter instance.
>>> c = Counter('which')
>>> c.update('witch') # add elements from another iterable
>>> d = Counter('watch')
>>> c.update(d) # add elements from another counter
>>> c['h'] # four 'h' in which, witch, and watch
4''',
'sqlite3.collections.Counter.values':'''D.values() -> list of D's values''',
'sqlite3.collections.Counter.viewitems':'''D.viewitems() -> a set-like object providing a view on D's items''',
'sqlite3.collections.Counter.viewkeys':'''D.viewkeys() -> a set-like object providing a view on D's keys''',
'sqlite3.collections.Counter.viewvalues':'''D.viewvalues() -> an object providing a view on D's values''',
'sqlite3.collections.Hashable':'''''',
'sqlite3.collections.ItemsView':'''''',
'sqlite3.collections.ItemsView.isdisjoint':'''Return True if two sets have a null intersection.''',
'sqlite3.collections.Iterable':'''''',
'sqlite3.collections.Iterator':'''''',
'sqlite3.collections.KeysView':'''''',
'sqlite3.collections.KeysView.isdisjoint':'''Return True if two sets have a null intersection.''',
'sqlite3.collections.Mapping':'''A Mapping is a generic container for associating key/value
pairs.
This class provides concrete generic implementations of all
methods except for __getitem__, __iter__, and __len__.''',
'sqlite3.collections.MappingView':'''''',
'sqlite3.collections.MutableMapping':'''A MutableMapping is a generic container for associating
key/value pairs.
This class provides concrete generic implementations of all
methods except for __getitem__, __setitem__, __delitem__,
__iter__, and __len__.''',
'sqlite3.collections.MutableSequence':'''All the operations on a read-only sequence.
Concrete subclasses must provide __new__ or __init__,
__getitem__, __setitem__, __delitem__, __len__, and insert().''',
'sqlite3.collections.MutableSet':'''A mutable set is a finite, iterable container.
This class provides concrete generic implementations of all
methods except for __contains__, __iter__, __len__,
add(), and discard().
To override the comparisons (presumably for speed, as the
semantics are fixed), all you have to do is redefine __le__ and
then the other operations will automatically follow suit.''',
'sqlite3.collections.OrderedDict':'''Dictionary that remembers insertion order''',
'sqlite3.collections.OrderedDict.clear':'''od.clear() -> None. Remove all items from od.''',
'sqlite3.collections.OrderedDict.copy':'''od.copy() -> a shallow copy of od''',
'sqlite3.collections.OrderedDict.fromkeys':'''OD.fromkeys(S[, v]) -> New ordered dictionary with keys from S.
If not specified, the value defaults to None.''',
'sqlite3.collections.OrderedDict.get':'''D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.''',
'sqlite3.collections.OrderedDict.has_key':'''D.has_key(k) -> True if D has a key k, else False''',
'sqlite3.collections.OrderedDict.items':'''od.items() -> list of (key, value) pairs in od''',
'sqlite3.collections.OrderedDict.iteritems':'''od.iteritems -> an iterator over the (key, value) pairs in od''',
'sqlite3.collections.OrderedDict.iterkeys':'''od.iterkeys() -> an iterator over the keys in od''',
'sqlite3.collections.OrderedDict.itervalues':'''od.itervalues -> an iterator over the values in od''',
'sqlite3.collections.OrderedDict.keys':'''od.keys() -> list of keys in od''',
'sqlite3.collections.OrderedDict.pop':'''od.pop(k[,d]) -> v, remove specified key and return the corresponding
value. If key is not found, d is returned if given, otherwise KeyError
is raised.''',
'sqlite3.collections.OrderedDict.popitem':'''od.popitem() -> (k, v), return and remove a (key, value) pair.
Pairs are returned in LIFO order if last is true or FIFO order if false.''',
'sqlite3.collections.OrderedDict.setdefault':'''od.setdefault(k[,d]) -> od.get(k,d), also set od[k]=d if k not in od''',
'sqlite3.collections.OrderedDict.update':'''D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.
If E present and has a .keys() method, does: for k in E: D[k] = E[k]
If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v
In either case, this is followed by: for k, v in F.items(): D[k] = v''',
'sqlite3.collections.OrderedDict.values':'''od.values() -> list of values in od''',
'sqlite3.collections.OrderedDict.viewitems':'''od.viewitems() -> a set-like object providing a view on od's items''',
'sqlite3.collections.OrderedDict.viewkeys':'''od.viewkeys() -> a set-like object providing a view on od's keys''',
'sqlite3.collections.OrderedDict.viewvalues':'''od.viewvalues() -> an object providing a view on od's values''',
'sqlite3.collections.Sequence':'''All the operations on a read-only sequence.
Concrete subclasses must override __new__ or __init__,
__getitem__, and __len__.''',
'sqlite3.collections.Set':'''A set is a finite, iterable container.
This class provides concrete generic implementations of all
methods except for __contains__, __iter__ and __len__.
To override the comparisons (presumably for speed, as the
semantics are fixed), all you have to do is redefine __le__ and
then the other operations will automatically follow suit.''',
'sqlite3.collections.Sized':'''''',
'sqlite3.collections.ValuesView':'''''',
'sqlite3.collections.defaultdict':'''defaultdict(default_factory[, ...]) --> dict with default factory
The default factory is called without arguments to produce
a new value when a key is not present, in __getitem__ only.
A defaultdict compares equal to a dict with the same items.
All remaining arguments are treated the same as if they were
passed to the dict constructor, including keyword arguments.''',
'sqlite3.collections.defaultdict.clear':'''D.clear() -> None. Remove all items from D.''',
'sqlite3.collections.defaultdict.copy':'''D.copy() -> a shallow copy of D.''',
'sqlite3.collections.defaultdict.default_factory':'''Factory for default value called by __missing__().''',
'sqlite3.collections.defaultdict.fromkeys':'''dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.
v defaults to None.''',
'sqlite3.collections.defaultdict.get':'''D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.''',
'sqlite3.collections.defaultdict.has_key':'''D.has_key(k) -> True if D has a key k, else False''',
'sqlite3.collections.defaultdict.items':'''D.items() -> list of D's (key, value) pairs, as 2-tuples''',
'sqlite3.collections.defaultdict.iteritems':'''D.iteritems() -> an iterator over the (key, value) items of D''',
'sqlite3.collections.defaultdict.iterkeys':'''D.iterkeys() -> an iterator over the keys of D''',
'sqlite3.collections.defaultdict.itervalues':'''D.itervalues() -> an iterator over the values of D''',
'sqlite3.collections.defaultdict.keys':'''D.keys() -> list of D's keys''',
'sqlite3.collections.defaultdict.pop':'''D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If key is not found, d is returned if given, otherwise KeyError is raised''',
'sqlite3.collections.defaultdict.popitem':'''D.popitem() -> (k, v), remove and return some (key, value) pair as a
2-tuple; but raise KeyError if D is empty.''',
'sqlite3.collections.defaultdict.setdefault':'''D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D''',
'sqlite3.collections.defaultdict.update':'''D.update([E, ]**F) -> None. Update D from dict/iterable E and F.
If E present and has a .keys() method, does: for k in E: D[k] = E[k]
If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v
In either case, this is followed by: for k in F: D[k] = F[k]''',
'sqlite3.collections.defaultdict.values':'''D.values() -> list of D's values''',
'sqlite3.collections.defaultdict.viewitems':'''D.viewitems() -> a set-like object providing a view on D's items''',
'sqlite3.collections.defaultdict.viewkeys':'''D.viewkeys() -> a set-like object providing a view on D's keys''',
'sqlite3.collections.defaultdict.viewvalues':'''D.viewvalues() -> an object providing a view on D's values''',
'sqlite3.collections.deque':'''deque([iterable[, maxlen]]) --> deque object
Build an ordered collection with optimized access from its endpoints.''',
'sqlite3.collections.deque.append':'''Add an element to the right side of the deque.''',
'sqlite3.collections.deque.appendleft':'''Add an element to the left side of the deque.''',
'sqlite3.collections.deque.clear':'''Remove all elements from the deque.''',
'sqlite3.collections.deque.count':'''D.count(value) -> integer -- return number of occurrences of value''',
'sqlite3.collections.deque.extend':'''Extend the right side of the deque with elements from the iterable''',
'sqlite3.collections.deque.extendleft':'''Extend the left side of the deque with elements from the iterable''',
'sqlite3.collections.deque.maxlen':'''maximum size of a deque or None if unbounded''',
'sqlite3.collections.deque.pop':'''Remove and return the rightmost element.''',
'sqlite3.collections.deque.popleft':'''Remove and return the leftmost element.''',
'sqlite3.collections.deque.remove':'''D.remove(value) -- remove first occurrence of value.''',
'sqlite3.collections.deque.reverse':'''D.reverse() -- reverse *IN PLACE*''',
'sqlite3.collections.deque.rotate':'''Rotate the deque n steps to the right (default n=1). If n is negative, rotates left.''',
'sqlite3.collections.namedtuple':'''Returns a new subclass of tuple with named fields.
>>> Point = namedtuple('Point', ['x', 'y'])
>>> Point.__doc__ # docstring for the new class
'Point(x, y)'
>>> p = Point(11, y=22) # instantiate with positional args or keywords
>>> p[0] + p[1] # indexable like a plain tuple
33
>>> x, y = p # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y # fields also accessable by name
33
>>> d = p._asdict() # convert to a dictionary
>>> d['x']
11
>>> Point(**d) # convert from a dictionary
Point(x=11, y=22)
>>> p._replace(x=100) # _replace() is like str.replace() but targets named fields
Point(x=100, y=22)''',
'sqlite3.complete_statement':'''complete_statement(sql)
Checks if a string contains a complete SQL statement. Non-standard.''',
'sqlite3.connect':'''connect(database[, timeout, isolation_level, detect_types, factory])
Opens a connection to the SQLite database file *database*. You can use
":memory:" to open a database connection to a database that resides in
RAM instead of on disk.''',
'sqlite3.date':'''date(year, month, day) --> date object''',
'sqlite3.date.ctime':'''Return ctime() style string.''',
'sqlite3.date.day':'''''',
'sqlite3.date.fromordinal':'''int -> date corresponding to a proleptic Gregorian ordinal.''',
'sqlite3.date.fromtimestamp':'''timestamp -> local date from a POSIX timestamp (like time.time()).''',
'sqlite3.date.isocalendar':'''Return a 3-tuple containing ISO year, week number, and weekday.''',
'sqlite3.date.isoformat':'''Return string in ISO 8601 format, YYYY-MM-DD.''',
'sqlite3.date.isoweekday':'''Return the day of the week represented by the date.
Monday == 1 ... Sunday == 7''',
'sqlite3.date.month':'''''',
'sqlite3.date.replace':'''Return date with new specified fields.''',
'sqlite3.date.strftime':'''format -> strftime() style string.''',
'sqlite3.date.timetuple':'''Return time tuple, compatible with time.localtime().''',
'sqlite3.date.today':'''Current date or datetime: same as self.__class__.fromtimestamp(time.time()).''',
'sqlite3.date.toordinal':'''Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.''',
'sqlite3.date.weekday':'''Return the day of the week represented by the date.
Monday == 0 ... Sunday == 6''',
'sqlite3.date.year':'''''',
'sqlite3.datetime':'''Fast implementation of the datetime type.''',
'sqlite3.datetime.astimezone':'''tz -> convert to local time in new timezone tz''',
'sqlite3.datetime.combine':'''date, time -> datetime with same date and time fields''',
'sqlite3.datetime.ctime':'''Return ctime() style string.''',
'sqlite3.datetime.date':'''date(year, month, day) --> date object''',
'sqlite3.datetime.date.ctime':'''Return ctime() style string.''',
'sqlite3.datetime.date.day':'''''',
'sqlite3.datetime.date.fromordinal':'''int -> date corresponding to a proleptic Gregorian ordinal.''',
'sqlite3.datetime.date.fromtimestamp':'''timestamp -> local date from a POSIX timestamp (like time.time()).''',
'sqlite3.datetime.date.isocalendar':'''Return a 3-tuple containing ISO year, week number, and weekday.''',
'sqlite3.datetime.date.isoformat':'''Return string in ISO 8601 format, YYYY-MM-DD.''',
'sqlite3.datetime.date.isoweekday':'''Return the day of the week represented by the date.
Monday == 1 ... Sunday == 7''',
'sqlite3.datetime.date.month':'''''',
'sqlite3.datetime.date.replace':'''Return date with new specified fields.''',
'sqlite3.datetime.date.strftime':'''format -> strftime() style string.''',
'sqlite3.datetime.date.timetuple':'''Return time tuple, compatible with time.localtime().''',
'sqlite3.datetime.date.today':'''Current date or datetime: same as self.__class__.fromtimestamp(time.time()).''',
'sqlite3.datetime.date.toordinal':'''Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.''',
'sqlite3.datetime.date.weekday':'''Return the day of the week represented by the date.
Monday == 0 ... Sunday == 6''',
'sqlite3.datetime.date.year':'''''',
'sqlite3.datetime.datetime':'''datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]])
The year, month and day arguments are required. tzinfo may be None, or an
instance of a tzinfo subclass. The remaining arguments may be ints or longs.''',
'sqlite3.datetime.datetime.astimezone':'''tz -> convert to local time in new timezone tz''',
'sqlite3.datetime.datetime.combine':'''date, time -> datetime with same date and time fields''',
'sqlite3.datetime.datetime.ctime':'''Return ctime() style string.''',
'sqlite3.datetime.datetime.date':'''Return date object with same year, month and day.''',
'sqlite3.datetime.datetime.day':'''''',
'sqlite3.datetime.datetime.dst':'''Return self.tzinfo.dst(self).''',
'sqlite3.datetime.datetime.fromordinal':'''int -> date corresponding to a proleptic Gregorian ordinal.''',
'sqlite3.datetime.datetime.fromtimestamp':'''timestamp[, tz] -> tz's local time from POSIX timestamp.''',
'sqlite3.datetime.datetime.hour':'''''',
'sqlite3.datetime.datetime.isocalendar':'''Return a 3-tuple containing ISO year, week number, and weekday.''',
'sqlite3.datetime.datetime.isoformat':'''[sep] -> string in ISO 8601 format, YYYY-MM-DDTHH:MM:SS[.mmmmmm][+HH:MM].
sep is used to separate the year from the time, and defaults to 'T'.''',
'sqlite3.datetime.datetime.isoweekday':'''Return the day of the week represented by the date.
Monday == 1 ... Sunday == 7''',
'sqlite3.datetime.datetime.microsecond':'''''',
'sqlite3.datetime.datetime.minute':'''''',
'sqlite3.datetime.datetime.month':'''''',
'sqlite3.datetime.datetime.now':'''[tz] -> new datetime with tz's local day and time.''',
'sqlite3.datetime.datetime.replace':'''Return datetime with new specified fields.''',
'sqlite3.datetime.datetime.second':'''''',
'sqlite3.datetime.datetime.strftime':'''format -> strftime() style string.''',
'sqlite3.datetime.datetime.strptime':'''string, format -> new datetime parsed from a string (like time.strptime()).''',
'sqlite3.datetime.datetime.time':'''Return time object with same time but with tzinfo=None.''',
'sqlite3.datetime.datetime.timetuple':'''Return time tuple, compatible with time.localtime().''',
'sqlite3.datetime.datetime.timetz':'''Return time object with same time and tzinfo.''',
'sqlite3.datetime.datetime.today':'''Current date or datetime: same as self.__class__.fromtimestamp(time.time()).''',
'sqlite3.datetime.datetime.toordinal':'''Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.''',
'sqlite3.datetime.datetime.tzinfo':'''''',
'sqlite3.datetime.datetime.tzname':'''Return self.tzinfo.tzname(self).''',
'sqlite3.datetime.datetime.utcfromtimestamp':'''timestamp -> UTC datetime from a POSIX timestamp (like time.time()).''',
'sqlite3.datetime.datetime.utcnow':'''Return a new datetime representing UTC day and time.''',
'sqlite3.datetime.datetime.utcoffset':'''Return self.tzinfo.utcoffset(self).''',
'sqlite3.datetime.datetime.utctimetuple':'''Return UTC time tuple, compatible with time.localtime().''',
'sqlite3.datetime.datetime.weekday':'''Return the day of the week represented by the date.
Monday == 0 ... Sunday == 6''',
'sqlite3.datetime.datetime.year':'''''',
'sqlite3.datetime.day':'''''',
'sqlite3.datetime.dst':'''Return self.tzinfo.dst(self).''',
'sqlite3.datetime.fromordinal':'''int -> date corresponding to a proleptic Gregorian ordinal.''',
'sqlite3.datetime.fromtimestamp':'''timestamp[, tz] -> tz's local time from POSIX timestamp.''',
'sqlite3.datetime.hour':'''''',
'sqlite3.datetime.isocalendar':'''Return a 3-tuple containing ISO year, week number, and weekday.''',
'sqlite3.datetime.isoformat':'''[sep] -> string in ISO 8601 format, YYYY-MM-DDTHH:MM:SS[.mmmmmm][+HH:MM].
sep is used to separate the year from the time, and defaults to 'T'.''',
'sqlite3.datetime.isoweekday':'''Return the day of the week represented by the date.
Monday == 1 ... Sunday == 7''',
'sqlite3.datetime.microsecond':'''''',
'sqlite3.datetime.minute':'''''',
'sqlite3.datetime.month':'''''',
'sqlite3.datetime.now':'''[tz] -> new datetime with tz's local day and time.''',
'sqlite3.datetime.replace':'''Return datetime with new specified fields.''',
'sqlite3.datetime.second':'''''',
'sqlite3.datetime.strftime':'''format -> strftime() style string.''',
'sqlite3.datetime.strptime':'''string, format -> new datetime parsed from a string (like time.strptime()).''',
'sqlite3.datetime.time':'''time([hour[, minute[, second[, microsecond[, tzinfo]]]]]) --> a time object
All arguments are optional. tzinfo may be None, or an instance of
a tzinfo subclass. The remaining arguments may be ints or longs.''',
'sqlite3.datetime.time.dst':'''Return self.tzinfo.dst(self).''',
'sqlite3.datetime.time.hour':'''''',
'sqlite3.datetime.time.isoformat':'''Return string in ISO 8601 format, HH:MM:SS[.mmmmmm][+HH:MM].''',
'sqlite3.datetime.time.microsecond':'''''',
'sqlite3.datetime.time.minute':'''''',
'sqlite3.datetime.time.replace':'''Return time with new specified fields.''',
'sqlite3.datetime.time.second':'''''',
'sqlite3.datetime.time.strftime':'''format -> strftime() style string.''',
'sqlite3.datetime.time.tzinfo':'''''',
'sqlite3.datetime.time.tzname':'''Return self.tzinfo.tzname(self).''',
'sqlite3.datetime.time.utcoffset':'''Return self.tzinfo.utcoffset(self).''',
'sqlite3.datetime.timedelta':'''Difference between two datetime values.''',
'sqlite3.datetime.timedelta.days':'''Number of days.''',
'sqlite3.datetime.timedelta.microseconds':'''Number of microseconds (>= 0 and less than 1 second).''',
'sqlite3.datetime.timedelta.seconds':'''Number of seconds (>= 0 and less than 1 day).''',
'sqlite3.datetime.timedelta.total_seconds':'''Total seconds in the duration.''',
'sqlite3.datetime.timetuple':'''Return time tuple, compatible with time.localtime().''',
'sqlite3.datetime.timetz':'''Return time object with same time and tzinfo.''',
'sqlite3.datetime.today':'''Current date or datetime: same as self.__class__.fromtimestamp(time.time()).''',
'sqlite3.datetime.toordinal':'''Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.''',
'sqlite3.datetime.tzinfo':'''Abstract base class for time zone info objects.''',
'sqlite3.datetime.tzinfo.dst':'''datetime -> DST offset in minutes east of UTC.''',
'sqlite3.datetime.tzinfo.fromutc':'''datetime in UTC -> datetime in local time.''',
'sqlite3.datetime.tzinfo.tzname':'''datetime -> string name of time zone.''',
'sqlite3.datetime.tzinfo.utcoffset':'''datetime -> minutes east of UTC (negative for west of UTC).''',
'sqlite3.datetime.tzname':'''Return self.tzinfo.tzname(self).''',
'sqlite3.datetime.utcfromtimestamp':'''timestamp -> UTC datetime from a POSIX timestamp (like time.time()).''',
'sqlite3.datetime.utcnow':'''Return a new datetime representing UTC day and time.''',
'sqlite3.datetime.utcoffset':'''Return self.tzinfo.utcoffset(self).''',
'sqlite3.datetime.utctimetuple':'''Return UTC time tuple, compatible with time.localtime().''',
'sqlite3.datetime.weekday':'''Return the day of the week represented by the date.
Monday == 0 ... Sunday == 6''',
'sqlite3.datetime.year':'''''',
'sqlite3.enable_callback_tracebacks':'''enable_callback_tracebacks(flag)
Enable or disable callback functions throwing errors to stderr.''',
'sqlite3.enable_shared_cache':'''enable_shared_cache(do_enable)
Enable or disable shared cache mode for the calling thread.
Experimental/Non-standard.''',
'sqlite3.register_adapter':'''register_adapter(type, callable)
Registers an adapter with pysqlite's adapter registry. Non-standard.''',
'sqlite3.register_converter':'''register_converter(typename, callable)
Registers a converter with pysqlite. Non-standard.''',
'sqlite3.sqlite3.dbapi2':'''''',
'sqlite3.sqlite3.dbapi2.Cache':'''''',
'sqlite3.sqlite3.dbapi2.Cache.display':'''For debugging only.''',
'sqlite3.sqlite3.dbapi2.Cache.get':'''Gets an entry from the cache or calls the factory function to produce one.''',
'sqlite3.sqlite3.dbapi2.Connection':'''SQLite database connection object.''',
'sqlite3.sqlite3.dbapi2.Connection.DataError':'''''',
'sqlite3.sqlite3.dbapi2.Connection.DatabaseError':'''''',
'sqlite3.sqlite3.dbapi2.Connection.Error':'''''',
'sqlite3.sqlite3.dbapi2.Connection.IntegrityError':'''''',
'sqlite3.sqlite3.dbapi2.Connection.InterfaceError':'''''',
'sqlite3.sqlite3.dbapi2.Connection.InternalError':'''''',
'sqlite3.sqlite3.dbapi2.Connection.NotSupportedError':'''''',
'sqlite3.sqlite3.dbapi2.Connection.OperationalError':'''''',
'sqlite3.sqlite3.dbapi2.Connection.ProgrammingError':'''''',
'sqlite3.sqlite3.dbapi2.Connection.Warning':'''''',
'sqlite3.sqlite3.dbapi2.Connection.close':'''Closes the connection.''',
'sqlite3.sqlite3.dbapi2.Connection.commit':'''Commit the current transaction.''',
'sqlite3.sqlite3.dbapi2.Connection.create_aggregate':'''Creates a new aggregate. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.create_collation':'''Creates a collation function. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.create_function':'''Creates a new function. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.cursor':'''Return a cursor for the connection.''',
'sqlite3.sqlite3.dbapi2.Connection.enable_load_extension':'''Enable dynamic loading of SQLite extension modules. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.execute':'''Executes a SQL statement. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.executemany':'''Repeatedly executes a SQL statement. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.executescript':'''Executes a multiple SQL statements at once. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.interrupt':'''Abort any pending database operation. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.isolation_level':'''''',
'sqlite3.sqlite3.dbapi2.Connection.iterdump':'''Returns iterator to the dump of the database in an SQL text format. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.load_extension':'''Load SQLite extension module. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.rollback':'''Roll back the current transaction.''',
'sqlite3.sqlite3.dbapi2.Connection.row_factory':'''''',
'sqlite3.sqlite3.dbapi2.Connection.set_authorizer':'''Sets authorizer callback. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.set_progress_handler':'''Sets progress handler callback. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Connection.text_factory':'''''',
'sqlite3.sqlite3.dbapi2.Connection.total_changes':'''''',
'sqlite3.sqlite3.dbapi2.Cursor':'''SQLite database cursor class.''',
'sqlite3.sqlite3.dbapi2.Cursor.arraysize':'''''',
'sqlite3.sqlite3.dbapi2.Cursor.close':'''Closes the cursor.''',
'sqlite3.sqlite3.dbapi2.Cursor.connection':'''''',
'sqlite3.sqlite3.dbapi2.Cursor.description':'''''',
'sqlite3.sqlite3.dbapi2.Cursor.execute':'''Executes a SQL statement.''',
'sqlite3.sqlite3.dbapi2.Cursor.executemany':'''Repeatedly executes a SQL statement.''',
'sqlite3.sqlite3.dbapi2.Cursor.executescript':'''Executes a multiple SQL statements at once. Non-standard.''',
'sqlite3.sqlite3.dbapi2.Cursor.fetchall':'''Fetches all rows from the resultset.''',
'sqlite3.sqlite3.dbapi2.Cursor.fetchmany':'''Fetches several rows from the resultset.''',
'sqlite3.sqlite3.dbapi2.Cursor.fetchone':'''Fetches one row from the resultset.''',
'sqlite3.sqlite3.dbapi2.Cursor.lastrowid':'''''',
'sqlite3.sqlite3.dbapi2.Cursor.next':'''x.next() -> the next value, or raise StopIteration''',
'sqlite3.sqlite3.dbapi2.Cursor.row_factory':'''''',
'sqlite3.sqlite3.dbapi2.Cursor.rowcount':'''''',
'sqlite3.sqlite3.dbapi2.Cursor.setinputsizes':'''Required by DB-API. Does nothing in pysqlite.''',
'sqlite3.sqlite3.dbapi2.Cursor.setoutputsize':'''Required by DB-API. Does nothing in pysqlite.''',
'sqlite3.sqlite3.dbapi2.DataError':'''''',
'sqlite3.sqlite3.dbapi2.DataError.args':'''''',
'sqlite3.sqlite3.dbapi2.DataError.message':'''''',
'sqlite3.sqlite3.dbapi2.DatabaseError':'''''',
'sqlite3.sqlite3.dbapi2.DatabaseError.args':'''''',
'sqlite3.sqlite3.dbapi2.DatabaseError.message':'''''',
'sqlite3.sqlite3.dbapi2.DateFromTicks':'''''',
'sqlite3.sqlite3.dbapi2.Error':'''''',
'sqlite3.sqlite3.dbapi2.Error.args':'''''',
'sqlite3.sqlite3.dbapi2.Error.message':'''''',
'sqlite3.sqlite3.dbapi2.IntegrityError':'''''',
'sqlite3.sqlite3.dbapi2.IntegrityError.args':'''''',
'sqlite3.sqlite3.dbapi2.IntegrityError.message':'''''',
'sqlite3.sqlite3.dbapi2.InterfaceError':'''''',
'sqlite3.sqlite3.dbapi2.InterfaceError.args':'''''',
'sqlite3.sqlite3.dbapi2.InterfaceError.message':'''''',
'sqlite3.sqlite3.dbapi2.InternalError':'''''',
'sqlite3.sqlite3.dbapi2.InternalError.args':'''''',
'sqlite3.sqlite3.dbapi2.InternalError.message':'''''',
'sqlite3.sqlite3.dbapi2.NotSupportedError':'''''',
'sqlite3.sqlite3.dbapi2.NotSupportedError.args':'''''',
'sqlite3.sqlite3.dbapi2.NotSupportedError.message':'''''',
'sqlite3.sqlite3.dbapi2.OperationalError':'''''',
'sqlite3.sqlite3.dbapi2.OperationalError.args':'''''',
'sqlite3.sqlite3.dbapi2.OperationalError.message':'''''',
'sqlite3.sqlite3.dbapi2.PrepareProtocol':'''''',
'sqlite3.sqlite3.dbapi2.ProgrammingError':'''''',
'sqlite3.sqlite3.dbapi2.ProgrammingError.args':'''''',
'sqlite3.sqlite3.dbapi2.ProgrammingError.message':'''''',
'sqlite3.sqlite3.dbapi2.Row':'''''',
'sqlite3.sqlite3.dbapi2.Row.keys':'''Returns the keys of the row.''',
'sqlite3.sqlite3.dbapi2.Statement':'''''',
'sqlite3.sqlite3.dbapi2.TimeFromTicks':'''''',
'sqlite3.sqlite3.dbapi2.TimestampFromTicks':'''''',
'sqlite3.sqlite3.dbapi2.Warning':'''''',
'sqlite3.sqlite3.dbapi2.Warning.args':'''''',
'sqlite3.sqlite3.dbapi2.Warning.message':'''''',
'sqlite3.sqlite3.dbapi2.adapt':'''adapt(obj, protocol, alternate) -> adapt obj to given protocol. Non-standard.''',
'sqlite3.sqlite3.dbapi2.buffer':'''buffer(object [, offset[, size]])
Create a new buffer object which references the given object.
The buffer will reference a slice of the target object from the
start of the object (or at the specified offset). The slice will
extend to the end of the target object (or with the specified size).''',
'sqlite3.sqlite3.dbapi2.cell':'''''',
'sqlite3.sqlite3.dbapi2.cell.cell_contents':'''''',
'sqlite3.sqlite3.dbapi2.collections':'''''',
'sqlite3.sqlite3.dbapi2.collections.Callable':'''''',
'sqlite3.sqlite3.dbapi2.collections.Container':'''''',
'sqlite3.sqlite3.dbapi2.collections.Counter':'''Dict subclass for counting hashable items. Sometimes called a bag
or multiset. Elements are stored as dictionary keys and their counts
are stored as dictionary values.
>>> c = Counter('abcdeabcdabcaba') # count elements from a string
>>> c.most_common(3) # three most common elements
[('a', 5), ('b', 4), ('c', 3)]
>>> sorted(c) # list all unique elements
['a', 'b', 'c', 'd', 'e']
>>> ''.join(sorted(c.elements())) # list elements with repetitions
'aaaaabbbbcccdde'
>>> sum(c.values()) # total of all counts
15
>>> c['a'] # count of letter 'a'
5
>>> for elem in 'shazam': # update counts from an iterable
... c[elem] += 1 # by adding 1 to each element's count
>>> c['a'] # now there are seven 'a'
7
>>> del c['b'] # remove all 'b'
>>> c['b'] # now there are zero 'b'
0
>>> d = Counter('simsalabim') # make another counter
>>> c.update(d) # add in the second counter
>>> c['a'] # now there are nine 'a'
9
>>> c.clear() # empty the counter
>>> c
Counter()
Note: If a count is set to zero or reduced to zero, it will remain
in the counter until the entry is deleted or the counter is cleared:
>>> c = Counter('aaabbc')
>>> c['b'] -= 2 # reduce the count of 'b' by two
>>> c.most_common() # 'b' is still in, but its count is zero
[('a', 3), ('c', 1), ('b', 0)]''',
'sqlite3.sqlite3.dbapi2.collections.Counter.clear':'''D.clear() -> None. Remove all items from D.''',
'sqlite3.sqlite3.dbapi2.collections.Counter.copy':'''Return a shallow copy.''',
'sqlite3.sqlite3.dbapi2.collections.Counter.elements':'''Iterator over elements repeating each as many times as its count.
>>> c = Counter('ABCABC')
>>> sorted(c.elements())
['A', 'A', 'B', 'B', 'C', 'C']
# Knuth's example for prime factors of 1836: 2**2 * 3**3 * 17**1
>>> prime_factors = Counter({2: 2, 3: 3, 17: 1})
>>> product = 1
>>> for factor in prime_factors.elements(): # loop over factors
... product *= factor # and multiply them
>>> product
1836
Note, if an element's count has been set to zero or is a negative
number, elements() will ignore it.''',
'sqlite3.sqlite3.dbapi2.collections.Counter.fromkeys':'''''',
'sqlite3.sqlite3.dbapi2.collections.Counter.get':'''D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.''',
'sqlite3.sqlite3.dbapi2.collections.Counter.has_key':'''D.has_key(k) -> True if D has a key k, else False''',
'sqlite3.sqlite3.dbapi2.collections.Counter.items':'''D.items() -> list of D's (key, value) pairs, as 2-tuples''',
'sqlite3.sqlite3.dbapi2.collections.Counter.iteritems':'''D.iteritems() -> an iterator over the (key, value) items of D''',
'sqlite3.sqlite3.dbapi2.collections.Counter.iterkeys':'''D.iterkeys() -> an iterator over the keys of D''',
'sqlite3.sqlite3.dbapi2.collections.Counter.itervalues':'''D.itervalues() -> an iterator over the values of D''',
'sqlite3.sqlite3.dbapi2.collections.Counter.keys':'''D.keys() -> list of D's keys''',
'sqlite3.sqlite3.dbapi2.collections.Counter.most_common':'''List the n most common elements and their counts from the most
common to the least. If n is None, then list all element counts.
>>> Counter('abcdeabcdabcaba').most_common(3)
[('a', 5), ('b', 4), ('c', 3)]''',
'sqlite3.sqlite3.dbapi2.collections.Counter.pop':'''D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If key is not found, d is returned if given, otherwise KeyError is raised''',
'sqlite3.sqlite3.dbapi2.collections.Counter.popitem':'''D.popitem() -> (k, v), remove and return some (key, value) pair as a
2-tuple; but raise KeyError if D is empty.''',
'sqlite3.sqlite3.dbapi2.collections.Counter.setdefault':'''D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D''',
'sqlite3.sqlite3.dbapi2.collections.Counter.subtract':'''Like dict.update() but subtracts counts instead of replacing them.
Counts can be reduced below zero. Both the inputs and outputs are
allowed to contain zero and negative counts.
Source can be an iterable, a dictionary, or another Counter instance.
>>> c = Counter('which')
>>> c.subtract('witch') # subtract elements from another iterable
>>> c.subtract(Counter('watch')) # subtract elements from another counter
>>> c['h'] # 2 in which, minus 1 in witch, minus 1 in watch
0
>>> c['w'] # 1 in which, minus 1 in witch, minus 1 in watch
-1''',
'sqlite3.sqlite3.dbapi2.collections.Counter.update':'''Like dict.update() but add counts instead of replacing them.
Source can be an iterable, a dictionary, or another Counter instance.
>>> c = Counter('which')
>>> c.update('witch') # add elements from another iterable
>>> d = Counter('watch')
>>> c.update(d) # add elements from another counter
>>> c['h'] # four 'h' in which, witch, and watch
4''',
'sqlite3.sqlite3.dbapi2.collections.Counter.values':'''D.values() -> list of D's values''',
'sqlite3.sqlite3.dbapi2.collections.Counter.viewitems':'''D.viewitems() -> a set-like object providing a view on D's items''',
'sqlite3.sqlite3.dbapi2.collections.Counter.viewkeys':'''D.viewkeys() -> a set-like object providing a view on D's keys''',
'sqlite3.sqlite3.dbapi2.collections.Counter.viewvalues':'''D.viewvalues() -> an object providing a view on D's values''',
'sqlite3.sqlite3.dbapi2.collections.Hashable':'''''',
'sqlite3.sqlite3.dbapi2.collections.ItemsView':'''''',
'sqlite3.sqlite3.dbapi2.collections.ItemsView.isdisjoint':'''Return True if two sets have a null intersection.''',
'sqlite3.sqlite3.dbapi2.collections.Iterable':'''''',
'sqlite3.sqlite3.dbapi2.collections.Iterator':'''''',
'sqlite3.sqlite3.dbapi2.collections.KeysView':'''''',
'sqlite3.sqlite3.dbapi2.collections.KeysView.isdisjoint':'''Return True if two sets have a null intersection.''',
'sqlite3.sqlite3.dbapi2.collections.Mapping':'''A Mapping is a generic container for associating key/value
pairs.
This class provides concrete generic implementations of all
methods except for __getitem__, __iter__, and __len__.''',
'sqlite3.sqlite3.dbapi2.collections.MappingView':'''''',
'sqlite3.sqlite3.dbapi2.collections.MutableMapping':'''A MutableMapping is a generic container for associating
key/value pairs.
This class provides concrete generic implementations of all
methods except for __getitem__, __setitem__, __delitem__,
__iter__, and __len__.''',
'sqlite3.sqlite3.dbapi2.collections.MutableSequence':'''All the operations on a read-only sequence.
Concrete subclasses must provide __new__ or __init__,
__getitem__, __setitem__, __delitem__, __len__, and insert().''',
'sqlite3.sqlite3.dbapi2.collections.MutableSet':'''A mutable set is a finite, iterable container.
This class provides concrete generic implementations of all
methods except for __contains__, __iter__, __len__,
add(), and discard().
To override the comparisons (presumably for speed, as the
semantics are fixed), all you have to do is redefine __le__ and
then the other operations will automatically follow suit.''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict':'''Dictionary that remembers insertion order''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.clear':'''od.clear() -> None. Remove all items from od.''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.copy':'''od.copy() -> a shallow copy of od''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.fromkeys':'''OD.fromkeys(S[, v]) -> New ordered dictionary with keys from S.
If not specified, the value defaults to None.''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.get':'''D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.has_key':'''D.has_key(k) -> True if D has a key k, else False''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.items':'''od.items() -> list of (key, value) pairs in od''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.iteritems':'''od.iteritems -> an iterator over the (key, value) pairs in od''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.iterkeys':'''od.iterkeys() -> an iterator over the keys in od''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.itervalues':'''od.itervalues -> an iterator over the values in od''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.keys':'''od.keys() -> list of keys in od''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.pop':'''od.pop(k[,d]) -> v, remove specified key and return the corresponding
value. If key is not found, d is returned if given, otherwise KeyError
is raised.''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.popitem':'''od.popitem() -> (k, v), return and remove a (key, value) pair.
Pairs are returned in LIFO order if last is true or FIFO order if false.''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.setdefault':'''od.setdefault(k[,d]) -> od.get(k,d), also set od[k]=d if k not in od''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.update':'''D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.
If E present and has a .keys() method, does: for k in E: D[k] = E[k]
If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v
In either case, this is followed by: for k, v in F.items(): D[k] = v''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.values':'''od.values() -> list of values in od''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.viewitems':'''od.viewitems() -> a set-like object providing a view on od's items''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.viewkeys':'''od.viewkeys() -> a set-like object providing a view on od's keys''',
'sqlite3.sqlite3.dbapi2.collections.OrderedDict.viewvalues':'''od.viewvalues() -> an object providing a view on od's values''',
'sqlite3.sqlite3.dbapi2.collections.Sequence':'''All the operations on a read-only sequence.
Concrete subclasses must override __new__ or __init__,
__getitem__, and __len__.''',
'sqlite3.sqlite3.dbapi2.collections.Set':'''A set is a finite, iterable container.
This class provides concrete generic implementations of all
methods except for __contains__, __iter__ and __len__.
To override the comparisons (presumably for speed, as the
semantics are fixed), all you have to do is redefine __le__ and
then the other operations will automatically follow suit.''',
'sqlite3.sqlite3.dbapi2.collections.Sized':'''''',
'sqlite3.sqlite3.dbapi2.collections.ValuesView':'''''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict':'''defaultdict(default_factory[, ...]) --> dict with default factory
The default factory is called without arguments to produce
a new value when a key is not present, in __getitem__ only.
A defaultdict compares equal to a dict with the same items.
All remaining arguments are treated the same as if they were
passed to the dict constructor, including keyword arguments.''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.clear':'''D.clear() -> None. Remove all items from D.''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.copy':'''D.copy() -> a shallow copy of D.''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.default_factory':'''Factory for default value called by __missing__().''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.fromkeys':'''dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.
v defaults to None.''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.get':'''D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.has_key':'''D.has_key(k) -> True if D has a key k, else False''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.items':'''D.items() -> list of D's (key, value) pairs, as 2-tuples''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.iteritems':'''D.iteritems() -> an iterator over the (key, value) items of D''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.iterkeys':'''D.iterkeys() -> an iterator over the keys of D''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.itervalues':'''D.itervalues() -> an iterator over the values of D''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.keys':'''D.keys() -> list of D's keys''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.pop':'''D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If key is not found, d is returned if given, otherwise KeyError is raised''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.popitem':'''D.popitem() -> (k, v), remove and return some (key, value) pair as a
2-tuple; but raise KeyError if D is empty.''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.setdefault':'''D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.update':'''D.update([E, ]**F) -> None. Update D from dict/iterable E and F.
If E present and has a .keys() method, does: for k in E: D[k] = E[k]
If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v
In either case, this is followed by: for k in F: D[k] = F[k]''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.values':'''D.values() -> list of D's values''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.viewitems':'''D.viewitems() -> a set-like object providing a view on D's items''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.viewkeys':'''D.viewkeys() -> a set-like object providing a view on D's keys''',
'sqlite3.sqlite3.dbapi2.collections.defaultdict.viewvalues':'''D.viewvalues() -> an object providing a view on D's values''',
'sqlite3.sqlite3.dbapi2.collections.deque':'''deque([iterable[, maxlen]]) --> deque object
Build an ordered collection with optimized access from its endpoints.''',
'sqlite3.sqlite3.dbapi2.collections.deque.append':'''Add an element to the right side of the deque.''',
'sqlite3.sqlite3.dbapi2.collections.deque.appendleft':'''Add an element to the left side of the deque.''',
'sqlite3.sqlite3.dbapi2.collections.deque.clear':'''Remove all elements from the deque.''',
'sqlite3.sqlite3.dbapi2.collections.deque.count':'''D.count(value) -> integer -- return number of occurrences of value''',
'sqlite3.sqlite3.dbapi2.collections.deque.extend':'''Extend the right side of the deque with elements from the iterable''',
'sqlite3.sqlite3.dbapi2.collections.deque.extendleft':'''Extend the left side of the deque with elements from the iterable''',
'sqlite3.sqlite3.dbapi2.collections.deque.maxlen':'''maximum size of a deque or None if unbounded''',
'sqlite3.sqlite3.dbapi2.collections.deque.pop':'''Remove and return the rightmost element.''',
'sqlite3.sqlite3.dbapi2.collections.deque.popleft':'''Remove and return the leftmost element.''',
'sqlite3.sqlite3.dbapi2.collections.deque.remove':'''D.remove(value) -- remove first occurrence of value.''',
'sqlite3.sqlite3.dbapi2.collections.deque.reverse':'''D.reverse() -- reverse *IN PLACE*''',
'sqlite3.sqlite3.dbapi2.collections.deque.rotate':'''Rotate the deque n steps to the right (default n=1). If n is negative, rotates left.''',
'sqlite3.sqlite3.dbapi2.collections.namedtuple':'''Returns a new subclass of tuple with named fields.
>>> Point = namedtuple('Point', ['x', 'y'])
>>> Point.__doc__ # docstring for the new class
'Point(x, y)'
>>> p = Point(11, y=22) # instantiate with positional args or keywords
>>> p[0] + p[1] # indexable like a plain tuple
33
>>> x, y = p # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y # fields also accessable by name
33
>>> d = p._asdict() # convert to a dictionary
>>> d['x']
11
>>> Point(**d) # convert from a dictionary
Point(x=11, y=22)
>>> p._replace(x=100) # _replace() is like str.replace() but targets named fields
Point(x=100, y=22)''',
'sqlite3.sqlite3.dbapi2.complete_statement':'''complete_statement(sql)
Checks if a string contains a complete SQL statement. Non-standard.''',
'sqlite3.sqlite3.dbapi2.connect':'''connect(database[, timeout, isolation_level, detect_types, factory])
Opens a connection to the SQLite database file *database*. You can use
":memory:" to open a database connection to a database that resides in
RAM instead of on disk.''',
'sqlite3.sqlite3.dbapi2.date':'''date(year, month, day) --> date object''',
'sqlite3.sqlite3.dbapi2.date.ctime':'''Return ctime() style string.''',
'sqlite3.sqlite3.dbapi2.date.day':'''''',
'sqlite3.sqlite3.dbapi2.date.fromordinal':'''int -> date corresponding to a proleptic Gregorian ordinal.''',
'sqlite3.sqlite3.dbapi2.date.fromtimestamp':'''timestamp -> local date from a POSIX timestamp (like time.time()).''',
'sqlite3.sqlite3.dbapi2.date.isocalendar':'''Return a 3-tuple containing ISO year, week number, and weekday.''',
'sqlite3.sqlite3.dbapi2.date.isoformat':'''Return string in ISO 8601 format, YYYY-MM-DD.''',
'sqlite3.sqlite3.dbapi2.date.isoweekday':'''Return the day of the week represented by the date.
Monday == 1 ... Sunday == 7''',
'sqlite3.sqlite3.dbapi2.date.month':'''''',
'sqlite3.sqlite3.dbapi2.date.replace':'''Return date with new specified fields.''',
'sqlite3.sqlite3.dbapi2.date.strftime':'''format -> strftime() style string.''',
'sqlite3.sqlite3.dbapi2.date.timetuple':'''Return time tuple, compatible with time.localtime().''',
'sqlite3.sqlite3.dbapi2.date.today':'''Current date or datetime: same as self.__class__.fromtimestamp(time.time()).''',
'sqlite3.sqlite3.dbapi2.date.toordinal':'''Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.''',
'sqlite3.sqlite3.dbapi2.date.weekday':'''Return the day of the week represented by the date.
Monday == 0 ... Sunday == 6''',
'sqlite3.sqlite3.dbapi2.date.year':'''''',
'sqlite3.sqlite3.dbapi2.datetime':'''Fast implementation of the datetime type.''',
'sqlite3.sqlite3.dbapi2.datetime.astimezone':'''tz -> convert to local time in new timezone tz''',
'sqlite3.sqlite3.dbapi2.datetime.combine':'''date, time -> datetime with same date and time fields''',
'sqlite3.sqlite3.dbapi2.datetime.ctime':'''Return ctime() style string.''',
'sqlite3.sqlite3.dbapi2.datetime.date':'''date(year, month, day) --> date object''',
'sqlite3.sqlite3.dbapi2.datetime.date.ctime':'''Return ctime() style string.''',
'sqlite3.sqlite3.dbapi2.datetime.date.day':'''''',
'sqlite3.sqlite3.dbapi2.datetime.date.fromordinal':'''int -> date corresponding to a proleptic Gregorian ordinal.''',
'sqlite3.sqlite3.dbapi2.datetime.date.fromtimestamp':'''timestamp -> local date from a POSIX timestamp (like time.time()).''',
'sqlite3.sqlite3.dbapi2.datetime.date.isocalendar':'''Return a 3-tuple containing ISO year, week number, and weekday.''',
'sqlite3.sqlite3.dbapi2.datetime.date.isoformat':'''Return string in ISO 8601 format, YYYY-MM-DD.''',
'sqlite3.sqlite3.dbapi2.datetime.date.isoweekday':'''Return the day of the week represented by the date.
Monday == 1 ... Sunday == 7''',
'sqlite3.sqlite3.dbapi2.datetime.date.month':'''''',
'sqlite3.sqlite3.dbapi2.datetime.date.replace':'''Return date with new specified fields.''',
'sqlite3.sqlite3.dbapi2.datetime.date.strftime':'''format -> strftime() style string.''',
'sqlite3.sqlite3.dbapi2.datetime.date.timetuple':'''Return time tuple, compatible with time.localtime().''',
'sqlite3.sqlite3.dbapi2.datetime.date.today':'''Current date or datetime: same as self.__class__.fromtimestamp(time.time()).''',
'sqlite3.sqlite3.dbapi2.datetime.date.toordinal':'''Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.''',
'sqlite3.sqlite3.dbapi2.datetime.date.weekday':'''Return the day of the week represented by the date.
Monday == 0 ... Sunday == 6''',
'sqlite3.sqlite3.dbapi2.datetime.date.year':'''''',
'sqlite3.sqlite3.dbapi2.datetime.datetime':'''datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]])
The year, month and day arguments are required. tzinfo may be None, or an
instance of a tzinfo subclass. The remaining arguments may be ints or longs.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.astimezone':'''tz -> convert to local time in new timezone tz''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.combine':'''date, time -> datetime with same date and time fields''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.ctime':'''Return ctime() style string.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.date':'''Return date object with same year, month and day.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.day':'''''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.dst':'''Return self.tzinfo.dst(self).''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.fromordinal':'''int -> date corresponding to a proleptic Gregorian ordinal.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.fromtimestamp':'''timestamp[, tz] -> tz's local time from POSIX timestamp.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.hour':'''''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.isocalendar':'''Return a 3-tuple containing ISO year, week number, and weekday.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.isoformat':'''[sep] -> string in ISO 8601 format, YYYY-MM-DDTHH:MM:SS[.mmmmmm][+HH:MM].
sep is used to separate the year from the time, and defaults to 'T'.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.isoweekday':'''Return the day of the week represented by the date.
Monday == 1 ... Sunday == 7''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.microsecond':'''''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.minute':'''''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.month':'''''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.now':'''[tz] -> new datetime with tz's local day and time.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.replace':'''Return datetime with new specified fields.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.second':'''''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.strftime':'''format -> strftime() style string.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.strptime':'''string, format -> new datetime parsed from a string (like time.strptime()).''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.time':'''Return time object with same time but with tzinfo=None.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.timetuple':'''Return time tuple, compatible with time.localtime().''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.timetz':'''Return time object with same time and tzinfo.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.today':'''Current date or datetime: same as self.__class__.fromtimestamp(time.time()).''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.toordinal':'''Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.tzinfo':'''''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.tzname':'''Return self.tzinfo.tzname(self).''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.utcfromtimestamp':'''timestamp -> UTC datetime from a POSIX timestamp (like time.time()).''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.utcnow':'''Return a new datetime representing UTC day and time.''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.utcoffset':'''Return self.tzinfo.utcoffset(self).''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.utctimetuple':'''Return UTC time tuple, compatible with time.localtime().''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.weekday':'''Return the day of the week represented by the date.
Monday == 0 ... Sunday == 6''',
'sqlite3.sqlite3.dbapi2.datetime.datetime.year':'''''',
'sqlite3.sqlite3.dbapi2.datetime.day':'''''',
'sqlite3.sqlite3.dbapi2.datetime.dst':'''Return self.tzinfo.dst(self).''',
'sqlite3.sqlite3.dbapi2.datetime.fromordinal':'''int -> date corresponding to a proleptic Gregorian ordinal.''',
'sqlite3.sqlite3.dbapi2.datetime.fromtimestamp':'''timestamp[, tz] -> tz's local time from POSIX timestamp.''',
'sqlite3.sqlite3.dbapi2.datetime.hour':'''''',
'sqlite3.sqlite3.dbapi2.datetime.isocalendar':'''Return a 3-tuple containing ISO year, week number, and weekday.''',
'sqlite3.sqlite3.dbapi2.datetime.isoformat':'''[sep] -> string in ISO 8601 format, YYYY-MM-DDTHH:MM:SS[.mmmmmm][+HH:MM].
sep is used to separate the year from the time, and defaults to 'T'.''',
'sqlite3.sqlite3.dbapi2.datetime.isoweekday':'''Return the day of the week represented by the date.
Monday == 1 ... Sunday == 7''',
'sqlite3.sqlite3.dbapi2.datetime.microsecond':'''''',
'sqlite3.sqlite3.dbapi2.datetime.minute':'''''',
'sqlite3.sqlite3.dbapi2.datetime.month':'''''',
'sqlite3.sqlite3.dbapi2.datetime.now':'''[tz] -> new datetime with tz's local day and time.''',
'sqlite3.sqlite3.dbapi2.datetime.replace':'''Return datetime with new specified fields.''',
'sqlite3.sqlite3.dbapi2.datetime.second':'''''',
'sqlite3.sqlite3.dbapi2.datetime.strftime':'''format -> strftime() style string.''',
'sqlite3.sqlite3.dbapi2.datetime.strptime':'''string, format -> new datetime parsed from a string (like time.strptime()).''',
'sqlite3.sqlite3.dbapi2.datetime.time':'''time([hour[, minute[, second[, microsecond[, tzinfo]]]]]) --> a time object
All arguments are optional. tzinfo may be None, or an instance of
a tzinfo subclass. The remaining arguments may be ints or longs.''',
'sqlite3.sqlite3.dbapi2.datetime.time.dst':'''Return self.tzinfo.dst(self).''',
'sqlite3.sqlite3.dbapi2.datetime.time.hour':'''''',
'sqlite3.sqlite3.dbapi2.datetime.time.isoformat':'''Return string in ISO 8601 format, HH:MM:SS[.mmmmmm][+HH:MM].''',
'sqlite3.sqlite3.dbapi2.datetime.time.microsecond':'''''',
'sqlite3.sqlite3.dbapi2.datetime.time.minute':'''''',
'sqlite3.sqlite3.dbapi2.datetime.time.replace':'''Return time with new specified fields.''',
'sqlite3.sqlite3.dbapi2.datetime.time.second':'''''',
'sqlite3.sqlite3.dbapi2.datetime.time.strftime':'''format -> strftime() style string.''',
'sqlite3.sqlite3.dbapi2.datetime.time.tzinfo':'''''',
'sqlite3.sqlite3.dbapi2.datetime.time.tzname':'''Return self.tzinfo.tzname(self).''',
'sqlite3.sqlite3.dbapi2.datetime.time.utcoffset':'''Return self.tzinfo.utcoffset(self).''',
'sqlite3.sqlite3.dbapi2.datetime.timedelta':'''Difference between two datetime values.''',
'sqlite3.sqlite3.dbapi2.datetime.timedelta.days':'''Number of days.''',
'sqlite3.sqlite3.dbapi2.datetime.timedelta.microseconds':'''Number of microseconds (>= 0 and less than 1 second).''',
'sqlite3.sqlite3.dbapi2.datetime.timedelta.seconds':'''Number of seconds (>= 0 and less than 1 day).''',
'sqlite3.sqlite3.dbapi2.datetime.timedelta.total_seconds':'''Total seconds in the duration.''',
'sqlite3.sqlite3.dbapi2.datetime.timetuple':'''Return time tuple, compatible with time.localtime().''',
'sqlite3.sqlite3.dbapi2.datetime.timetz':'''Return time object with same time and tzinfo.''',
'sqlite3.sqlite3.dbapi2.datetime.today':'''Current date or datetime: same as self.__class__.fromtimestamp(time.time()).''',
'sqlite3.sqlite3.dbapi2.datetime.toordinal':'''Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.''',
'sqlite3.sqlite3.dbapi2.datetime.tzinfo':'''Abstract base class for time zone info objects.''',
'sqlite3.sqlite3.dbapi2.datetime.tzinfo.dst':'''datetime -> DST offset in minutes east of UTC.''',
'sqlite3.sqlite3.dbapi2.datetime.tzinfo.fromutc':'''datetime in UTC -> datetime in local time.''',
'sqlite3.sqlite3.dbapi2.datetime.tzinfo.tzname':'''datetime -> string name of time zone.''',
'sqlite3.sqlite3.dbapi2.datetime.tzinfo.utcoffset':'''datetime -> minutes east of UTC (negative for west of UTC).''',
'sqlite3.sqlite3.dbapi2.datetime.tzname':'''Return self.tzinfo.tzname(self).''',
'sqlite3.sqlite3.dbapi2.datetime.utcfromtimestamp':'''timestamp -> UTC datetime from a POSIX timestamp (like time.time()).''',
'sqlite3.sqlite3.dbapi2.datetime.utcnow':'''Return a new datetime representing UTC day and time.''',
'sqlite3.sqlite3.dbapi2.datetime.utcoffset':'''Return self.tzinfo.utcoffset(self).''',
'sqlite3.sqlite3.dbapi2.datetime.utctimetuple':'''Return UTC time tuple, compatible with time.localtime().''',
'sqlite3.sqlite3.dbapi2.datetime.weekday':'''Return the day of the week represented by the date.
Monday == 0 ... Sunday == 6''',
'sqlite3.sqlite3.dbapi2.datetime.year':'''''',
'sqlite3.sqlite3.dbapi2.enable_callback_tracebacks':'''enable_callback_tracebacks(flag)
Enable or disable callback functions throwing errors to stderr.''',
'sqlite3.sqlite3.dbapi2.enable_shared_cache':'''enable_shared_cache(do_enable)
Enable or disable shared cache mode for the calling thread.
Experimental/Non-standard.''',