-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathBuiltinDocs.java
More file actions
4766 lines (3558 loc) · 177 KB
/
BuiltinDocs.java
File metadata and controls
4766 lines (3558 loc) · 177 KB
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
// generated by make_pydocs.py
package org.python.core;
public class BuiltinDocs {
// Docs for <type 'object'>
public final static String object___class___doc =
"type(object) -> the object's type\n" +
"type(name, bases, dict) -> a new type";
public final static String object___delattr___doc =
"x.__delattr__('name') <==> del x.name";
public final static String object_doc =
"The most base type";
public final static String object___format___doc =
"default object formatter";
public final static String object___getattribute___doc =
"x.__getattribute__('name') <==> x.name";
public final static String object___hash___doc =
"x.__hash__() <==> hash(x)";
public final static String object___init___doc =
"x.__init__(...) initializes x; see help(type(x)) for signature";
public final static String object___new___doc =
"T.__new__(S, ...) -> a new object with type S, a subtype of T";
public final static String object___reduce___doc =
"helper for pickle";
public final static String object___reduce_ex___doc =
"helper for pickle";
public final static String object___repr___doc =
"x.__repr__() <==> repr(x)";
public final static String object___setattr___doc =
"x.__setattr__('name', value) <==> x.name = value";
public final static String object___sizeof___doc =
"__sizeof__() -> int\n" +
"size of object in memory, in bytes";
public final static String object___str___doc =
"x.__str__() <==> str(x)";
public final static String object___subclasshook___doc =
"Abstract classes can override this to customize issubclass().\n" +
"\n" +
"This is invoked early on by abc.ABCMeta.__subclasscheck__().\n" +
"It should return True, False or NotImplemented. If it returns\n" +
"NotImplemented, the normal algorithm is used. Otherwise, it\n" +
"overrides the normal algorithm (and the outcome is cached).\n" +
"";
// Docs for <type 'type'>
public final static String type___abstractmethods___doc =
"";
public final static String type___base___doc =
"The most base type";
public final static String type___bases___doc =
"tuple() -> empty tuple\n" +
"tuple(iterable) -> tuple initialized from iterable's items\n" +
"\n" +
"If the argument is a tuple, the return value is the same object.";
public final static String type___basicsize___doc =
"int(x[, base]) -> integer\n" +
"\n" +
"Convert a string or number to an integer, if possible. A floating point\n" +
"argument will be truncated towards zero (this does not include a string\n" +
"representation of a floating point number!) When converting a string, use\n" +
"the optional base. It is an error to supply a base when converting a\n" +
"non-string. If base is zero, the proper base is guessed based on the\n" +
"string content. If the argument is outside the integer range a\n" +
"long object will be returned instead.";
public final static String type___call___doc =
"x.__call__(...) <==> x(...)";
public final static String type___class___doc =
"type(object) -> the object's type\n" +
"type(name, bases, dict) -> a new type";
public final static String type___delattr___doc =
"x.__delattr__('name') <==> del x.name";
public final static String type___dict___doc =
"";
public final static String type___dictoffset___doc =
"int(x[, base]) -> integer\n" +
"\n" +
"Convert a string or number to an integer, if possible. A floating point\n" +
"argument will be truncated towards zero (this does not include a string\n" +
"representation of a floating point number!) When converting a string, use\n" +
"the optional base. It is an error to supply a base when converting a\n" +
"non-string. If base is zero, the proper base is guessed based on the\n" +
"string content. If the argument is outside the integer range a\n" +
"long object will be returned instead.";
public final static String type_doc =
"type(object) -> the object's type\n" +
"type(name, bases, dict) -> a new type";
public final static String type___eq___doc =
"x.__eq__(y) <==> x==y";
public final static String type___flags___doc =
"int(x[, base]) -> integer\n" +
"\n" +
"Convert a string or number to an integer, if possible. A floating point\n" +
"argument will be truncated towards zero (this does not include a string\n" +
"representation of a floating point number!) When converting a string, use\n" +
"the optional base. It is an error to supply a base when converting a\n" +
"non-string. If base is zero, the proper base is guessed based on the\n" +
"string content. If the argument is outside the integer range a\n" +
"long object will be returned instead.";
public final static String type___format___doc =
"default object formatter";
public final static String type___ge___doc =
"x.__ge__(y) <==> x>=y";
public final static String type___getattribute___doc =
"x.__getattribute__('name') <==> x.name";
public final static String type___gt___doc =
"x.__gt__(y) <==> x>y";
public final static String type___hash___doc =
"x.__hash__() <==> hash(x)";
public final static String type___init___doc =
"x.__init__(...) initializes x; see help(type(x)) for signature";
public final static String type___instancecheck___doc =
"__instancecheck__() -> bool\n" +
"check if an object is an instance";
public final static String type___itemsize___doc =
"int(x[, base]) -> integer\n" +
"\n" +
"Convert a string or number to an integer, if possible. A floating point\n" +
"argument will be truncated towards zero (this does not include a string\n" +
"representation of a floating point number!) When converting a string, use\n" +
"the optional base. It is an error to supply a base when converting a\n" +
"non-string. If base is zero, the proper base is guessed based on the\n" +
"string content. If the argument is outside the integer range a\n" +
"long object will be returned instead.";
public final static String type___le___doc =
"x.__le__(y) <==> x<=y";
public final static String type___lt___doc =
"x.__lt__(y) <==> x<y";
public final static String type___module___doc =
"str(object) -> string\n" +
"\n" +
"Return a nice string representation of the object.\n" +
"If the argument is a string, the return value is the same object.";
public final static String type___mro___doc =
"tuple() -> empty tuple\n" +
"tuple(iterable) -> tuple initialized from iterable's items\n" +
"\n" +
"If the argument is a tuple, the return value is the same object.";
public final static String type___name___doc =
"str(object) -> string\n" +
"\n" +
"Return a nice string representation of the object.\n" +
"If the argument is a string, the return value is the same object.";
public final static String type___ne___doc =
"x.__ne__(y) <==> x!=y";
public final static String type___new___doc =
"T.__new__(S, ...) -> a new object with type S, a subtype of T";
public final static String type___reduce___doc =
"helper for pickle";
public final static String type___reduce_ex___doc =
"helper for pickle";
public final static String type___repr___doc =
"x.__repr__() <==> repr(x)";
public final static String type___setattr___doc =
"x.__setattr__('name', value) <==> x.name = value";
public final static String type___sizeof___doc =
"__sizeof__() -> int\n" +
"size of object in memory, in bytes";
public final static String type___str___doc =
"x.__str__() <==> str(x)";
public final static String type___subclasscheck___doc =
"__subclasscheck__() -> bool\n" +
"check if a class is a subclass";
public final static String type___subclasses___doc =
"__subclasses__() -> list of immediate subclasses";
public final static String type___subclasshook___doc =
"Abstract classes can override this to customize issubclass().\n" +
"\n" +
"This is invoked early on by abc.ABCMeta.__subclasscheck__().\n" +
"It should return True, False or NotImplemented. If it returns\n" +
"NotImplemented, the normal algorithm is used. Otherwise, it\n" +
"overrides the normal algorithm (and the outcome is cached).\n" +
"";
public final static String type___weakrefoffset___doc =
"int(x[, base]) -> integer\n" +
"\n" +
"Convert a string or number to an integer, if possible. A floating point\n" +
"argument will be truncated towards zero (this does not include a string\n" +
"representation of a floating point number!) When converting a string, use\n" +
"the optional base. It is an error to supply a base when converting a\n" +
"non-string. If base is zero, the proper base is guessed based on the\n" +
"string content. If the argument is outside the integer range a\n" +
"long object will be returned instead.";
public final static String type_mro_doc =
"mro() -> list\n" +
"return a type's method resolution order";
// Docs for <type 'unicode'>
public final static String unicode___add___doc =
"x.__add__(y) <==> x+y";
public final static String unicode___class___doc =
"type(object) -> the object's type\n" +
"type(name, bases, dict) -> a new type";
public final static String unicode___contains___doc =
"x.__contains__(y) <==> y in x";
public final static String unicode___delattr___doc =
"x.__delattr__('name') <==> del x.name";
public final static String unicode_doc =
"unicode(object='') -> unicode object\n" +
"unicode(string[, encoding[, errors]]) -> unicode object\n" +
"\n" +
"Create a new Unicode object from the given encoded string.\n" +
"encoding defaults to the current default string encoding.\n" +
"errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.";
public final static String unicode___eq___doc =
"x.__eq__(y) <==> x==y";
public final static String unicode___format___doc =
"S.__format__(format_spec) -> unicode\n" +
"\n" +
"Return a formatted version of S as described by format_spec.";
public final static String unicode___ge___doc =
"x.__ge__(y) <==> x>=y";
public final static String unicode___getattribute___doc =
"x.__getattribute__('name') <==> x.name";
public final static String unicode___getitem___doc =
"x.__getitem__(y) <==> x[y]";
public final static String unicode___getnewargs___doc =
"";
public final static String unicode___getslice___doc =
"x.__getslice__(i, j) <==> x[i:j]\n" +
" \n" +
" Use of negative indices is not supported.";
public final static String unicode___gt___doc =
"x.__gt__(y) <==> x>y";
public final static String unicode___hash___doc =
"x.__hash__() <==> hash(x)";
public final static String unicode___init___doc =
"x.__init__(...) initializes x; see help(type(x)) for signature";
public final static String unicode___le___doc =
"x.__le__(y) <==> x<=y";
public final static String unicode___len___doc =
"x.__len__() <==> len(x)";
public final static String unicode___lt___doc =
"x.__lt__(y) <==> x<y";
public final static String unicode___mod___doc =
"x.__mod__(y) <==> x%y";
public final static String unicode___mul___doc =
"x.__mul__(n) <==> x*n";
public final static String unicode___ne___doc =
"x.__ne__(y) <==> x!=y";
public final static String unicode___new___doc =
"T.__new__(S, ...) -> a new object with type S, a subtype of T";
public final static String unicode___reduce___doc =
"helper for pickle";
public final static String unicode___reduce_ex___doc =
"helper for pickle";
public final static String unicode___repr___doc =
"x.__repr__() <==> repr(x)";
public final static String unicode___rmod___doc =
"x.__rmod__(y) <==> y%x";
public final static String unicode___rmul___doc =
"x.__rmul__(n) <==> n*x";
public final static String unicode___setattr___doc =
"x.__setattr__('name', value) <==> x.name = value";
public final static String unicode___sizeof___doc =
"S.__sizeof__() -> size of S in memory, in bytes\n" +
"\n" +
"";
public final static String unicode___str___doc =
"x.__str__() <==> str(x)";
public final static String unicode___subclasshook___doc =
"Abstract classes can override this to customize issubclass().\n" +
"\n" +
"This is invoked early on by abc.ABCMeta.__subclasscheck__().\n" +
"It should return True, False or NotImplemented. If it returns\n" +
"NotImplemented, the normal algorithm is used. Otherwise, it\n" +
"overrides the normal algorithm (and the outcome is cached).\n" +
"";
public final static String unicode__formatter_field_name_split_doc =
"";
public final static String unicode__formatter_parser_doc =
"";
public final static String unicode_capitalize_doc =
"S.capitalize() -> unicode\n" +
"\n" +
"Return a capitalized version of S, i.e. make the first character\n" +
"have upper case and the rest lower case.";
public final static String unicode_center_doc =
"S.center(width[, fillchar]) -> unicode\n" +
"\n" +
"Return S centered in a Unicode string of length width. Padding is\n" +
"done using the specified fill character (default is a space)";
public final static String unicode_count_doc =
"S.count(sub[, start[, end]]) -> int\n" +
"\n" +
"Return the number of non-overlapping occurrences of substring sub in\n" +
"Unicode string S[start:end]. Optional arguments start and end are\n" +
"interpreted as in slice notation.";
public final static String unicode_decode_doc =
"S.decode([encoding[,errors]]) -> string or unicode\n" +
"\n" +
"Decodes S using the codec registered for encoding. encoding defaults\n" +
"to the default encoding. errors may be given to set a different error\n" +
"handling scheme. Default is 'strict' meaning that encoding errors raise\n" +
"a UnicodeDecodeError. Other possible values are 'ignore' and 'replace'\n" +
"as well as any other name registerd with codecs.register_error that is\n" +
"able to handle UnicodeDecodeErrors.";
public final static String unicode_encode_doc =
"S.encode([encoding[,errors]]) -> string or unicode\n" +
"\n" +
"Encodes S using the codec registered for encoding. encoding defaults\n" +
"to the default encoding. errors may be given to set a different error\n" +
"handling scheme. Default is 'strict' meaning that encoding errors raise\n" +
"a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and\n" +
"'xmlcharrefreplace' as well as any other name registered with\n" +
"codecs.register_error that can handle UnicodeEncodeErrors.";
public final static String unicode_endswith_doc =
"S.endswith(suffix[, start[, end]]) -> bool\n" +
"\n" +
"Return True if S ends with the specified suffix, False otherwise.\n" +
"With optional start, test S beginning at that position.\n" +
"With optional end, stop comparing S at that position.\n" +
"suffix can also be a tuple of strings to try.";
public final static String unicode_expandtabs_doc =
"S.expandtabs([tabsize]) -> unicode\n" +
"\n" +
"Return a copy of S where all tab characters are expanded using spaces.\n" +
"If tabsize is not given, a tab size of 8 characters is assumed.";
public final static String unicode_find_doc =
"S.find(sub [,start [,end]]) -> int\n" +
"\n" +
"Return the lowest index in S where substring sub is found,\n" +
"such that sub is contained within s[start:end]. Optional\n" +
"arguments start and end are interpreted as in slice notation.\n" +
"\n" +
"Return -1 on failure.";
public final static String unicode_format_doc =
"S.format(*args, **kwargs) -> unicode\n" +
"\n" +
"Return a formatted version of S, using substitutions from args and kwargs.\n" +
"The substitutions are identified by braces ('{' and '}').";
public final static String unicode_index_doc =
"S.index(sub [,start [,end]]) -> int\n" +
"\n" +
"Like S.find() but raise ValueError when the substring is not found.";
public final static String unicode_isalnum_doc =
"S.isalnum() -> bool\n" +
"\n" +
"Return True if all characters in S are alphanumeric\n" +
"and there is at least one character in S, False otherwise.";
public final static String unicode_isalpha_doc =
"S.isalpha() -> bool\n" +
"\n" +
"Return True if all characters in S are alphabetic\n" +
"and there is at least one character in S, False otherwise.";
public final static String unicode_isdecimal_doc =
"S.isdecimal() -> bool\n" +
"\n" +
"Return True if there are only decimal characters in S,\n" +
"False otherwise.";
public final static String unicode_isdigit_doc =
"S.isdigit() -> bool\n" +
"\n" +
"Return True if all characters in S are digits\n" +
"and there is at least one character in S, False otherwise.";
public final static String unicode_islower_doc =
"S.islower() -> bool\n" +
"\n" +
"Return True if all cased characters in S are lowercase and there is\n" +
"at least one cased character in S, False otherwise.";
public final static String unicode_isnumeric_doc =
"S.isnumeric() -> bool\n" +
"\n" +
"Return True if there are only numeric characters in S,\n" +
"False otherwise.";
public final static String unicode_isspace_doc =
"S.isspace() -> bool\n" +
"\n" +
"Return True if all characters in S are whitespace\n" +
"and there is at least one character in S, False otherwise.";
public final static String unicode_istitle_doc =
"S.istitle() -> bool\n" +
"\n" +
"Return True if S is a titlecased string and there is at least one\n" +
"character in S, i.e. upper- and titlecase characters may only\n" +
"follow uncased characters and lowercase characters only cased ones.\n" +
"Return False otherwise.";
public final static String unicode_isupper_doc =
"S.isupper() -> bool\n" +
"\n" +
"Return True if all cased characters in S are uppercase and there is\n" +
"at least one cased character in S, False otherwise.";
public final static String unicode_join_doc =
"S.join(iterable) -> unicode\n" +
"\n" +
"Return a string which is the concatenation of the strings in the\n" +
"iterable. The separator between elements is S.";
public final static String unicode_ljust_doc =
"S.ljust(width[, fillchar]) -> int\n" +
"\n" +
"Return S left-justified in a Unicode string of length width. Padding is\n" +
"done using the specified fill character (default is a space).";
public final static String unicode_lower_doc =
"S.lower() -> unicode\n" +
"\n" +
"Return a copy of the string S converted to lowercase.";
public final static String unicode_lstrip_doc =
"S.lstrip([chars]) -> unicode\n" +
"\n" +
"Return a copy of the string S with leading whitespace removed.\n" +
"If chars is given and not None, remove characters in chars instead.\n" +
"If chars is a str, it will be converted to unicode before stripping";
public final static String unicode_partition_doc =
"S.partition(sep) -> (head, sep, tail)\n" +
"\n" +
"Search for the separator sep in S, and return the part before it,\n" +
"the separator itself, and the part after it. If the separator is not\n" +
"found, return S and two empty strings.";
public final static String unicode_replace_doc =
"S.replace(old, new[, count]) -> unicode\n" +
"\n" +
"Return a copy of S with all occurrences of substring\n" +
"old replaced by new. If the optional argument count is\n" +
"given, only the first count occurrences are replaced.";
public final static String unicode_rfind_doc =
"S.rfind(sub [,start [,end]]) -> int\n" +
"\n" +
"Return the highest index in S where substring sub is found,\n" +
"such that sub is contained within s[start:end]. Optional\n" +
"arguments start and end are interpreted as in slice notation.\n" +
"\n" +
"Return -1 on failure.";
public final static String unicode_rindex_doc =
"S.rindex(sub [,start [,end]]) -> int\n" +
"\n" +
"Like S.rfind() but raise ValueError when the substring is not found.";
public final static String unicode_rjust_doc =
"S.rjust(width[, fillchar]) -> unicode\n" +
"\n" +
"Return S right-justified in a Unicode string of length width. Padding is\n" +
"done using the specified fill character (default is a space).";
public final static String unicode_rpartition_doc =
"S.rpartition(sep) -> (head, sep, tail)\n" +
"\n" +
"Search for the separator sep in S, starting at the end of S, and return\n" +
"the part before it, the separator itself, and the part after it. If the\n" +
"separator is not found, return two empty strings and S.";
public final static String unicode_rsplit_doc =
"S.rsplit([sep [,maxsplit]]) -> list of strings\n" +
"\n" +
"Return a list of the words in S, using sep as the\n" +
"delimiter string, starting at the end of the string and\n" +
"working to the front. If maxsplit is given, at most maxsplit\n" +
"splits are done. If sep is not specified, any whitespace string\n" +
"is a separator.";
public final static String unicode_rstrip_doc =
"S.rstrip([chars]) -> unicode\n" +
"\n" +
"Return a copy of the string S with trailing whitespace removed.\n" +
"If chars is given and not None, remove characters in chars instead.\n" +
"If chars is a str, it will be converted to unicode before stripping";
public final static String unicode_split_doc =
"S.split([sep [,maxsplit]]) -> list of strings\n" +
"\n" +
"Return a list of the words in S, using sep as the\n" +
"delimiter string. If maxsplit is given, at most maxsplit\n" +
"splits are done. If sep is not specified or is None, any\n" +
"whitespace string is a separator and empty strings are\n" +
"removed from the result.";
public final static String unicode_splitlines_doc =
"S.splitlines([keepends]) -> list of strings\n" +
"\n" +
"Return a list of the lines in S, breaking at line boundaries.\n" +
"Line breaks are not included in the resulting list unless keepends\n" +
"is given and true.";
public final static String unicode_startswith_doc =
"S.startswith(prefix[, start[, end]]) -> bool\n" +
"\n" +
"Return True if S starts with the specified prefix, False otherwise.\n" +
"With optional start, test S beginning at that position.\n" +
"With optional end, stop comparing S at that position.\n" +
"prefix can also be a tuple of strings to try.";
public final static String unicode_strip_doc =
"S.strip([chars]) -> unicode\n" +
"\n" +
"Return a copy of the string S with leading and trailing\n" +
"whitespace removed.\n" +
"If chars is given and not None, remove characters in chars instead.\n" +
"If chars is a str, it will be converted to unicode before stripping";
public final static String unicode_swapcase_doc =
"S.swapcase() -> unicode\n" +
"\n" +
"Return a copy of S with uppercase characters converted to lowercase\n" +
"and vice versa.";
public final static String unicode_title_doc =
"S.title() -> unicode\n" +
"\n" +
"Return a titlecased version of S, i.e. words start with title case\n" +
"characters, all remaining cased characters have lower case.";
public final static String unicode_translate_doc =
"S.translate(table) -> unicode\n" +
"\n" +
"Return a copy of the string S, where all characters have been mapped\n" +
"through the given translation table, which must be a mapping of\n" +
"Unicode ordinals to Unicode ordinals, Unicode strings or None.\n" +
"Unmapped characters are left untouched. Characters mapped to None\n" +
"are deleted.";
public final static String unicode_upper_doc =
"S.upper() -> unicode\n" +
"\n" +
"Return a copy of S converted to uppercase.";
public final static String unicode_zfill_doc =
"S.zfill(width) -> unicode\n" +
"\n" +
"Pad a numeric string S with zeros on the left, to fill a field\n" +
"of the specified width. The string S is never truncated.";
// Docs for <type 'dict'>
public final static String dict___class___doc =
"type(object) -> the object's type\n" +
"type(name, bases, dict) -> a new type";
public final static String dict___cmp___doc =
"x.__cmp__(y) <==> cmp(x,y)";
public final static String dict___contains___doc =
"D.__contains__(k) -> True if D has a key k, else False";
public final static String dict___delattr___doc =
"x.__delattr__('name') <==> del x.name";
public final static String dict___delitem___doc =
"x.__delitem__(y) <==> del x[y]";
public final static String dict_doc =
"dict() -> new empty dictionary\n" +
"dict(mapping) -> new dictionary initialized from a mapping object's\n" +
" (key, value) pairs\n" +
"dict(iterable) -> new dictionary initialized as if via:\n" +
" d = {}\n" +
" for k, v in iterable:\n" +
" d[k] = v\n" +
"dict(**kwargs) -> new dictionary initialized with the name=value pairs\n" +
" in the keyword argument list. For example: dict(one=1, two=2)";
public final static String dict___eq___doc =
"x.__eq__(y) <==> x==y";
public final static String dict___format___doc =
"default object formatter";
public final static String dict___ge___doc =
"x.__ge__(y) <==> x>=y";
public final static String dict___getattribute___doc =
"x.__getattribute__('name') <==> x.name";
public final static String dict___getitem___doc =
"x.__getitem__(y) <==> x[y]";
public final static String dict___gt___doc =
"x.__gt__(y) <==> x>y";
public final static String dict___hash___doc =
"";
public final static String dict___init___doc =
"x.__init__(...) initializes x; see help(type(x)) for signature";
public final static String dict___iter___doc =
"x.__iter__() <==> iter(x)";
public final static String dict___le___doc =
"x.__le__(y) <==> x<=y";
public final static String dict___len___doc =
"x.__len__() <==> len(x)";
public final static String dict___lt___doc =
"x.__lt__(y) <==> x<y";
public final static String dict___ne___doc =
"x.__ne__(y) <==> x!=y";
public final static String dict___new___doc =
"T.__new__(S, ...) -> a new object with type S, a subtype of T";
public final static String dict___reduce___doc =
"helper for pickle";
public final static String dict___reduce_ex___doc =
"helper for pickle";
public final static String dict___repr___doc =
"x.__repr__() <==> repr(x)";
public final static String dict___setattr___doc =
"x.__setattr__('name', value) <==> x.name = value";
public final static String dict___setitem___doc =
"x.__setitem__(i, y) <==> x[i]=y";
public final static String dict___sizeof___doc =
"D.__sizeof__() -> size of D in memory, in bytes";
public final static String dict___str___doc =
"x.__str__() <==> str(x)";
public final static String dict___subclasshook___doc =
"Abstract classes can override this to customize issubclass().\n" +
"\n" +
"This is invoked early on by abc.ABCMeta.__subclasscheck__().\n" +
"It should return True, False or NotImplemented. If it returns\n" +
"NotImplemented, the normal algorithm is used. Otherwise, it\n" +
"overrides the normal algorithm (and the outcome is cached).\n" +
"";
public final static String dict_clear_doc =
"D.clear() -> None. Remove all items from D.";
public final static String dict_copy_doc =
"D.copy() -> a shallow copy of D";
public final static String dict_fromkeys_doc =
"dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.\n" +
"v defaults to None.";
public final static String dict_get_doc =
"D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.";
public final static String dict_has_key_doc =
"D.has_key(k) -> True if D has a key k, else False";
public final static String dict_items_doc =
"D.items() -> list of D's (key, value) pairs, as 2-tuples";
public final static String dict_iteritems_doc =
"D.iteritems() -> an iterator over the (key, value) items of D";
public final static String dict_iterkeys_doc =
"D.iterkeys() -> an iterator over the keys of D";
public final static String dict_itervalues_doc =
"D.itervalues() -> an iterator over the values of D";
public final static String dict_keys_doc =
"D.keys() -> list of D's keys";
public final static String dict_pop_doc =
"D.pop(k[,d]) -> v, remove specified key and return the corresponding value.\n" +
"If key is not found, d is returned if given, otherwise KeyError is raised";
public final static String dict_popitem_doc =
"D.popitem() -> (k, v), remove and return some (key, value) pair as a\n" +
"2-tuple; but raise KeyError if D is empty.";
public final static String dict_setdefault_doc =
"D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D";
public final static String dict_update_doc =
"D.update(E, **F) -> None. Update D from dict/iterable E and F.\n" +
"If E has a .keys() method, does: for k in E: D[k] = E[k]\n" +
"If E lacks .keys() method, does: for (k, v) in E: D[k] = v\n" +
"In either case, this is followed by: for k in F: D[k] = F[k]";
public final static String dict_values_doc =
"D.values() -> list of D's values";
public final static String dict_viewitems_doc =
"D.viewitems() -> a set-like object providing a view on D's items";
public final static String dict_viewkeys_doc =
"D.viewkeys() -> a set-like object providing a view on D's keys";
public final static String dict_viewvalues_doc =
"D.viewvalues() -> an object providing a view on D's values";
// Docs for <type 'list'>
public final static String list___add___doc =
"x.__add__(y) <==> x+y";
public final static String list___class___doc =
"type(object) -> the object's type\n" +
"type(name, bases, dict) -> a new type";
public final static String list___contains___doc =
"x.__contains__(y) <==> y in x";
public final static String list___delattr___doc =
"x.__delattr__('name') <==> del x.name";
public final static String list___delitem___doc =
"x.__delitem__(y) <==> del x[y]";
public final static String list___delslice___doc =
"x.__delslice__(i, j) <==> del x[i:j]\n" +
" \n" +
" Use of negative indices is not supported.";
public final static String list_doc =
"list() -> new empty list\n" +
"list(iterable) -> new list initialized from iterable's items";
public final static String list___eq___doc =
"x.__eq__(y) <==> x==y";
public final static String list___format___doc =
"default object formatter";
public final static String list___ge___doc =
"x.__ge__(y) <==> x>=y";
public final static String list___getattribute___doc =
"x.__getattribute__('name') <==> x.name";
public final static String list___getitem___doc =
"x.__getitem__(y) <==> x[y]";
public final static String list___getslice___doc =
"x.__getslice__(i, j) <==> x[i:j]\n" +
" \n" +
" Use of negative indices is not supported.";
public final static String list___gt___doc =
"x.__gt__(y) <==> x>y";
public final static String list___hash___doc =
"";
public final static String list___iadd___doc =
"x.__iadd__(y) <==> x+=y";
public final static String list___imul___doc =
"x.__imul__(y) <==> x*=y";
public final static String list___init___doc =
"x.__init__(...) initializes x; see help(type(x)) for signature";
public final static String list___iter___doc =
"x.__iter__() <==> iter(x)";
public final static String list___le___doc =
"x.__le__(y) <==> x<=y";
public final static String list___len___doc =
"x.__len__() <==> len(x)";
public final static String list___lt___doc =
"x.__lt__(y) <==> x<y";
public final static String list___mul___doc =
"x.__mul__(n) <==> x*n";
public final static String list___ne___doc =
"x.__ne__(y) <==> x!=y";
public final static String list___new___doc =
"T.__new__(S, ...) -> a new object with type S, a subtype of T";
public final static String list___reduce___doc =
"helper for pickle";
public final static String list___reduce_ex___doc =
"helper for pickle";
public final static String list___repr___doc =
"x.__repr__() <==> repr(x)";
public final static String list___reversed___doc =
"L.__reversed__() -- return a reverse iterator over the list";
public final static String list___rmul___doc =
"x.__rmul__(n) <==> n*x";
public final static String list___setattr___doc =
"x.__setattr__('name', value) <==> x.name = value";
public final static String list___setitem___doc =
"x.__setitem__(i, y) <==> x[i]=y";
public final static String list___setslice___doc =
"x.__setslice__(i, j, y) <==> x[i:j]=y\n" +
" \n" +
" Use of negative indices is not supported.";
public final static String list___sizeof___doc =
"L.__sizeof__() -- size of L in memory, in bytes";
public final static String list___str___doc =
"x.__str__() <==> str(x)";
public final static String list___subclasshook___doc =
"Abstract classes can override this to customize issubclass().\n" +
"\n" +
"This is invoked early on by abc.ABCMeta.__subclasscheck__().\n" +
"It should return True, False or NotImplemented. If it returns\n" +
"NotImplemented, the normal algorithm is used. Otherwise, it\n" +
"overrides the normal algorithm (and the outcome is cached).\n" +
"";
public final static String list_append_doc =
"L.append(object) -- append object to end";
public final static String list_count_doc =
"L.count(value) -> integer -- return number of occurrences of value";
public final static String list_extend_doc =
"L.extend(iterable) -- extend list by appending elements from the iterable";
public final static String list_index_doc =
"L.index(value, [start, [stop]]) -> integer -- return first index of value.\n" +
"Raises ValueError if the value is not present.";
public final static String list_insert_doc =
"L.insert(index, object) -- insert object before index";
public final static String list_pop_doc =
"L.pop([index]) -> item -- remove and return item at index (default last).\n" +
"Raises IndexError if list is empty or index is out of range.";
public final static String list_remove_doc =
"L.remove(value) -- remove first occurrence of value.\n" +
"Raises ValueError if the value is not present.";
public final static String list_reverse_doc =
"L.reverse() -- reverse *IN PLACE*";
public final static String list_sort_doc =
"L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*;\n" +
"cmp(x, y) -> -1, 0, 1";
// Docs for <type 'slice'>
public final static String slice___class___doc =
"type(object) -> the object's type\n" +
"type(name, bases, dict) -> a new type";
public final static String slice___cmp___doc =
"x.__cmp__(y) <==> cmp(x,y)";
public final static String slice___delattr___doc =
"x.__delattr__('name') <==> del x.name";
public final static String slice_doc =
"slice([start,] stop[, step])\n" +
"\n" +
"Create a slice object. This is used for extended slicing (e.g. a[0:10:2]).";
public final static String slice___format___doc =
"default object formatter";
public final static String slice___getattribute___doc =
"x.__getattribute__('name') <==> x.name";
public final static String slice___hash___doc =
"x.__hash__() <==> hash(x)";
public final static String slice___init___doc =
"x.__init__(...) initializes x; see help(type(x)) for signature";
public final static String slice___new___doc =
"T.__new__(S, ...) -> a new object with type S, a subtype of T";
public final static String slice___reduce___doc =
"Return state information for pickling.";
public final static String slice___reduce_ex___doc =
"helper for pickle";
public final static String slice___repr___doc =
"x.__repr__() <==> repr(x)";
public final static String slice___setattr___doc =
"x.__setattr__('name', value) <==> x.name = value";
public final static String slice___sizeof___doc =
"__sizeof__() -> int\n" +
"size of object in memory, in bytes";
public final static String slice___str___doc =
"x.__str__() <==> str(x)";
public final static String slice___subclasshook___doc =
"Abstract classes can override this to customize issubclass().\n" +
"\n" +
"This is invoked early on by abc.ABCMeta.__subclasscheck__().\n" +
"It should return True, False or NotImplemented. If it returns\n" +