You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FWIW, the order of copyrights does matter as the first one is usually the primary copyright. To keep the insertion order, you can use a list and at last do something like:
def unique(objects):
"""
Return a list of unique objects.
"""
uniques = []
for obj in objects:
if obj not in uniques:
uniques.append(obj)
return uniques
Or do the same on the fly. Or use an ordered set. Or a use a dict using only keys.
I agree that we should keep the original order, but there are no standards here. In general the first copyright notice is/should be the most recent but that is different from primary. In many cases the most recent copyright notice is for a minor change.
Description
Based on this comment:
The text was updated successfully, but these errors were encountered: