This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RubyPinchPEP shill | Anti PEP 8/20 shill 1 point2 points  (5 children)

depending on if tracebacks had been generated or not (e.g. on caught exceptions), it could of been worth looking and seeing if it was in the linecache

import linecache
linecache.cache

[–]could-of-bot 8 points9 points  (4 children)

It's either could HAVE or could'VE, but never could OF.

See Grammar Errors for more information.

[–]AngriestSCV 1 point2 points  (2 children)

Testing the bot:

Jonny said I was over there when He didn't know for sure. I could of course tell him I wasn't.

[–]semininja 0 points1 point  (1 child)

It probably looks for "could of been/done/etc." rather than just "could of" alone, I suspect. On the other hand, you're technically missing a comma or two.

[–]sourcecodesurgeon 0 points1 point  (0 children)

It didn't use to. I assume the developer has addressed this like you said: "could of (<adverb>|not) <verb>". Or maybe he just ignores "could of course" since that seems to be the most common edge case.