Introduction
Magic coding comments like
# -*- coding: utf-8 -*-
is for Python 2 whereas Python 3 uses utf-8 by default and can be omitted.
What to do?
- Remove all magic coding comments from all Python script files. They can be found here.
Xqt | |
Dec 30 2020, 4:10 PM |
F34011822: image.png | |
Jan 22 2021, 1:06 PM |
Magic coding comments like
# -*- coding: utf-8 -*-
is for Python 2 whereas Python 3 uses utf-8 by default and can be omitted.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Removed remove magic coding comments # -*- coding: utf-8 -*- | pywikibot/core | master | +0 -220 |
@TemporalPincher: I removd you from assignee of this task. Feel free to claim it again if you are going to work on it. But others may also claim this task.
hey
i have to remove this comment
but when i removed this comment there is one blank line remaining at this place of comment
Change 657818 had a related patch set uploaded (by Bharatkhatri; owner: Bharatkhatri):
[pywikibot/core@master] Removed remove magic coding comments # -*- coding: utf-8 -*-
Change 657818 merged by jenkins-bot:
[pywikibot/core@master] Removed remove magic coding comments # -*- coding: utf-8 -*-