Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 66ae38c

Browse files
update output with append_output.sh
1 parent 1cabd30 commit 66ae38c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎creational/lazy_evaluation.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,11 @@ def main():
8787
### OUTPUT ###
8888
# Name: Jhon Occupation: Coder
8989
# Before we access `relatives`:
90-
# {'name': 'Jhon', 'occupation': 'Coder'}
90+
# {'call_count2': 0, 'name': 'Jhon', 'occupation': 'Coder'}
9191
# Jhon's relatives: Many relatives.
9292
# After we've accessed `relatives`:
93-
# {'relatives': 'Many relatives.', 'name': 'Jhon', 'occupation': 'Coder'}
93+
# {'relatives': 'Many relatives.', 'call_count2': 0, 'name': 'Jhon', 'occupation': 'Coder'}
9494
# Father and mother
95-
# {'_lazy__parents': 'Father and mother', 'relatives': 'Many relatives.',
96-
# 'call_count2': 1, 'name': 'Jhon', 'occupation': 'Coder'}
95+
# {'_lazy__parents': 'Father and mother', 'relatives': 'Many relatives.', 'call_count2': 1, 'name': 'Jhon', 'occupation': 'Coder'}
9796
# Father and mother
9897
# 1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /