Skip to content

Commit

Permalink
final update
Browse files Browse the repository at this point in the history
  • Loading branch information
имя фамилия committed Jul 10, 2023
1 parent a2dcf1c commit 3b7407b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gendiff/formats/plain.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
def get_formatted_value(value):


elem_types = {type(None): 'null',
type(bool): str(value).lower(),
type(True): str(value).lower(),
type(''): f'\'{value}\'',
type(0): value,
type({}): '[complex value]'}
Expand Down

0 comments on commit 3b7407b

Please sign in to comment.