Commit f2c0830
committed
SF bug #963956: Bad error mesage when subclassing a module
Add a more informative message for the common user mistake of subclassing
from a module name rather than another class (i.e. random instead of
random.random).1 parent 0096e26 commit f2c0830
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3922 | 3922 | | |
3923 | 3923 | | |
3924 | 3924 | | |
| 3925 | + | |
| 3926 | + | |
| 3927 | + | |
| 3928 | + | |
| 3929 | + | |
| 3930 | + | |
| 3931 | + | |
| 3932 | + | |
| 3933 | + | |
3925 | 3934 | | |
3926 | 3935 | | |
3927 | 3936 | | |
| |||
0 commit comments