Skip to content

Commit 8300928

Browse files
committed
added the output of decorator
1 parent aedcee1 commit 8300928

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

decorator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ def hello():
2323

2424
if __name__ == '__main__':
2525
print('result:{} name:{} doc:{}'.format(hello(), hello.__name__, hello.__doc__))
26+
27+
### OUTPUT ###
28+
# result:<b><i>hello world</i></b> name:hello doc:a decorated hello world

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy