Skip to content

Commit

Permalink
Merge pull request #661 from AnswerDotAI/improve-docments-delegates-ex
Browse files Browse the repository at this point in the history
Change single line docments delegates example to multiline
  • Loading branch information
jph00 authored Dec 26, 2024
2 parents 6db38dc + a44c6f2 commit fe89ea7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nbs/06_docments.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,9 @@
"def _a(a:int=2): return a # First\n",
"\n",
"@delegates(_a)\n",
"def _b(b:str, **kwargs): return b, (_a(**kwargs)) # Second\n",
"def _b(b:str, # Second\n",
" **kwargs): \n",
" return b, (_a(**kwargs)) \n",
"\n",
"docments(_b)"
]
Expand Down

0 comments on commit fe89ea7

Please sign in to comment.