Unnecessary list comprehension (#8670)

This commit is contained in:
Ahzam Ahmed 2022-09-26 17:05:53 +05:00 committed by GitHub
parent 2de5081829
commit 73f4835a53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ class ViewInspector:
view.get_view_description())
def _get_description_section(self, view, header, description):
lines = [line for line in description.splitlines()]
lines = list(description.splitlines())
current_section = ''
sections = {'': ''}