Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

TypeError measuring uncalled function #226

Closed
JulienPalard opened this issue May 24, 2021 · 1 comment
Closed

TypeError measuring uncalled function #226

JulienPalard opened this issue May 24, 2021 · 1 comment

Comments

@JulienPalard
Copy link
Contributor

>>> len("Foo bar".split)

Traceback (most recent call last):                                                                                                                             
  File "<friendly-console:1>", line 1, in <module>                                                                                                             
    len("Foo bar".split)                                                                                                                                       
TypeError: object of type 'builtin_function_or_method' has no len()                                                                                            
>>> why()

No information is known about this exception. Please report this example to https://github.com/aroberge/friendly/issues

I think this one can be explained by something around the lines "You forgot to call the {} function.".

@aroberge
Copy link
Owner

aroberge commented May 24, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants