teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

ソースコードのコメント部分の修正

2018/04/29 10:55

投稿

yuyabu
yuyabu

スコア63

title CHANGED
File without changes
body CHANGED
@@ -27,7 +27,7 @@
27
27
  ```Python
28
28
  >>> def test(): #調査対象の関数の宣言
29
29
  ... print('test')
30
- >>> inspect.getsource(test) 実行(失敗する)
30
+ >>> inspect.getsource(test) #実行(失敗する)
31
31
  Traceback (most recent call last):
32
32
  File "<stdin>", line 1, in <module>
33
33
  File "/anaconda3/lib/python3.6/inspect.py", line 968, in getsource