Commit Graph

1690 Commits

Author SHA1 Message Date
Adam
bf294a82e8 Merge pull request #404 from ZapAnton/fix_if_same_then_else
Fix the 'if_same_then_else' clippy warnings
2019-02-08 18:29:02 +00:00
Benedykt Jaworski
b9245309d5 Merge branch 'master' into master 2019-02-08 18:45:00 +01:00
ZapAnton
0e6fca0106 Fix the 'if_same_then_else' clippy warnings
Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else
2019-02-08 20:04:30 +03:00
veera venky
cf2d07502b Removed strict testing for __doc__ string 2019-02-08 22:26:28 +05:30
ZapAnton
da68dfef78 tests: Removed tests for the __doc__ 2019-02-08 19:41:47 +03:00
ZapAnton
ae88389e10 type type: Added __doc__ 2019-02-08 19:36:10 +03:00
Aviv Palivoda
9ec2eef579 Add set.{issubset,issuperset} 2019-02-08 18:33:04 +02:00
ZapAnton
2b0f87b69f super type: Added __doc__ 2019-02-08 19:28:39 +03:00
Aviv Palivoda
2bc946b748 Add set.__lt__ 2019-02-08 18:27:37 +02:00
Aviv Palivoda
adee66168b Add set.__le__ 2019-02-08 18:25:33 +02:00
ZapAnton
a6d6f7721b range type: Added __doc__ 2019-02-08 19:17:08 +03:00
ZapAnton
a6beeac383 property type: Added __doc__ 2019-02-08 19:09:38 +03:00
Aviv Palivoda
1ee583ef61 Use set_compare_inner 2019-02-08 18:06:22 +02:00
ZapAnton
c05f7dc83a map type: Added __doc__ 2019-02-08 19:01:18 +03:00
ZapAnton
e6d638d43f iter type: Added __doc__ 2019-02-08 18:56:34 +03:00
Aviv Palivoda
358aa6b2c0 Add set.__gt__ 2019-02-08 17:50:36 +02:00
ZapAnton
031f062e72 complex type: Added __doc__ 2019-02-08 18:47:23 +03:00
ZapAnton
a180a4b6cb bytearray type: Added __doc__ 2019-02-08 18:43:27 +03:00
veera venky
61cbb49647 Added __doc__ for sys module 2019-02-08 21:08:30 +05:30
Aviv Palivoda
0c737ae8d2 Add set.__eq__ 2019-02-08 17:31:45 +02:00
Aviv Palivoda
6274c3fe8b Add set.__ge__ 2019-02-08 17:18:14 +02:00
Windel Bouwman
07fd61f55f Change instance and class to simplified dict type. (#379)
* Change instance and class to simplified dict type.

* Fix formatting.
2019-02-08 14:18:14 +00:00
janczer
83202d639f Add bytes.{__ge__, __gt__, __le__, __lt__} 2019-02-08 15:02:50 +01:00
Joey Hain
1ebacafb00 Add reversed builtin and range.__reversed__ 2019-02-08 00:19:14 -08:00
ben
e1284e34b0 Made filter_new private 2019-02-08 21:05:04 +13:00
ben
5896f049ef Add enumerate and zip types and made them lazy. 2019-02-08 20:57:16 +13:00
Windel Bouwman
a4b99253c9 Merge pull request #382 from OddCoincidence/range-bool-contains
Add range.{__bool__, __contains__}
2019-02-08 08:05:40 +01:00
Joey Hain
54bcb08518 Add range.{__bool__, __contains__}
- Also fix range.index for negative steps
2019-02-07 20:31:32 -08:00
Windel Bouwman
3dc2ab979d Merge pull request #378 from veera83372/tuple-methods
Added __doc__ atrribute for tuple
2019-02-07 21:09:18 +01:00
Windel Bouwman
385fb03d7a Merge pull request #327 from ZapAnton/float_doc
Float type: Added __doc__
2019-02-07 21:08:42 +01:00
veera venky
b85cf91a23 Added __doc__ atrribute for tuple 2019-02-07 23:47:47 +05:30
Windel Bouwman
3d2d04596c Merge pull request #343 from ZapAnton/fix_various_clippy
Fixed various small clippy warnings
2019-02-07 17:35:29 +01:00
Windel Bouwman
4e584efa57 Merge pull request #374 from ZapAnton/set_doc
(frozen)set type: Added __doc__
2019-02-07 17:29:07 +01:00
Windel Bouwman
c24a88c5ad Merge pull request #369 from ZapAnton/bytes_doc
bytes type: Added __doc__
2019-02-07 17:28:25 +01:00
Benedykt Jaworski
f823eb9403 Merge branch 'master' into master 2019-02-07 17:20:54 +01:00
Tom Forbes
6c18126382 Improve test coverage of os.open 2019-02-07 07:30:53 -07:00
Ryan Liddle
4d02a1e037 Merge pull request #376 from veera83372/tuple-index
Added index to tuple
2019-02-07 21:49:26 +11:00
veera venky
1479d6bc77 Added index to tuple 2019-02-07 14:56:14 +05:30
Windel Bouwman
d3158f3db5 Merge pull request #372 from RustPython/eliminate_repeated_to_bigint
Eliminate repeated to bigint
2019-02-07 06:22:58 +01:00
ZapAnton
694cbda03d (frozen)set type: Added __doc__ 2019-02-07 00:57:29 +03:00
Windel Bouwman
8f2c959143 Merge pull request #368 from ZapAnton/list_doc
list type: Added __doc__
2019-02-06 20:44:39 +01:00
Adam Kelly
df89c439d9 Fix accidentally broken test. 2019-02-06 17:55:01 +00:00
lausek
02d99758fe round() for int 2019-02-06 18:38:37 +01:00
Adam Kelly
fd344ec1e0 Remove unnecessary to_bigint().unwrap() everywhere. 2019-02-06 17:38:01 +00:00
Adam Kelly
aca0238379 Allow new_int to take anything with ToBigInt. 2019-02-06 17:36:22 +00:00
Adam Kelly
a83fd7c1af Add __code__ to functions. 2019-02-06 16:01:07 +00:00
Windel Bouwman
eb0da4f61c Merge pull request #366 from rmliddle/develop
Fixes build on Windows
2019-02-06 14:15:30 +01:00
ZapAnton
ca63f899d6 list type: Added __doc__ 2019-02-06 15:18:45 +03:00
ZapAnton
1992e02b76 bytes type: Added __doc__ 2019-02-06 15:16:41 +03:00
ZapAnton
2d7164df92 float type: Added __doc__ 2019-02-06 14:44:30 +03:00