Dmitry Shachnev
d53e5cd25a
[flake8-commas]: Fix example replacement in docs ( #14843 )
...
## Summary
Minor change for the documentation of COM818 rule. This was a block
called “In the event that a tuple is intended”, but the suggested change
did not produce a tuple.
## Test Plan
```python
>>> import json
>>> (json.dumps({"bar": 1}),) # this is a tuple
('{"bar": 1}',)
>>> (json.dumps({"bar": 1})) # not a tuple
'{"bar": 1}'
```
2024-12-09 00:51:59 +00:00
..
2024-12-03 08:22:42 +01:00
2024-12-07 17:34:50 +00:00
2024-11-29 12:05:05 +00:00
2024-12-06 10:22:08 +01:00
2024-12-01 01:38:31 +00:00
2024-11-18 12:26:55 +00:00
2024-12-03 08:22:42 +01:00
2024-12-06 08:50:29 +00:00
2024-11-17 16:21:09 +00:00
2024-07-03 07:36:46 -05:00
2024-11-29 12:05:05 +00:00
2024-10-23 07:57:53 +02:00
2024-11-29 12:05:05 +00:00
2024-12-06 13:01:04 +01:00
2024-10-20 10:55:36 +02:00
2024-07-18 09:24:58 -07:00
2024-12-09 00:51:59 +00:00
2024-11-27 09:41:40 +00:00
2024-10-20 10:55:36 +02:00
2024-12-05 10:30:06 +01:00
2024-11-15 19:31:15 +01:00
2024-10-28 07:53:41 +00:00
2024-12-06 13:01:04 +01:00
2024-10-28 07:53:41 +00:00
2024-11-29 12:05:05 +00:00
2024-11-29 12:05:05 +00:00
2024-11-15 19:31:15 +01:00
2024-12-08 18:25:47 +00:00
2024-12-03 08:36:16 +01:00
2024-10-28 07:53:41 +00:00
2024-11-15 19:31:15 +01:00
2024-11-29 12:05:05 +00:00
2024-10-28 07:53:41 +00:00
2024-10-28 07:53:41 +00:00
2024-12-05 18:06:35 +05:30
2024-12-02 22:41:47 -06:00