Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipVinc committed Jul 31, 2023
1 parent b651a90 commit 005af0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flax/core/frozen_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ def __hash__(self):
self._hash = h
return self._hash

def copy(self, add_or_replace: Optional[Mapping[K, V]] = None) -> 'FrozenDict[K, V]':
def copy(
self, add_or_replace: Optional[Mapping[K, V]] = None
) -> 'FrozenDict[K, V]':
if add_or_replace is None:
add_or_replace = {}
"""Create a new FrozenDict with additional or replaced entries."""
Expand Down

0 comments on commit 005af0b

Please sign in to comment.