mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Replaced mutable argument default by None
(#6541)
This commit is contained in:
parent
05596664a5
commit
9956bf1dc4
@ -312,9 +312,9 @@ class Element:
|
||||
"""
|
||||
|
||||
# Initialize HTML element
|
||||
def __init__(self, tag, attrs = {}):
|
||||
def __init__(self, tag, attrs = None):
|
||||
self.tag = tag
|
||||
self.attrs = attrs
|
||||
self.attrs = attrs or {}
|
||||
|
||||
# String representation
|
||||
def __repr__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user