Commit e367e9c
Make sure splitlines is not called on None (#161)
Small change that avoids that `splitlines` is called on a `None` object;
this may currently happen if `prop.fget.__doc__` exists and is `None`,
thus causing an exception (`'NoneType' object has no attribute
'splitlines'`).
Co-authored-by: Tosco, Paolo <[email protected]>1 parent bbb1104 commit e367e9c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| |||
0 commit comments