KV language DOES NOT take in-line comments

In KV, you can put comments on their own line, preceded by a # as usual.

However, if you try to put them after code, on the same line, you will get this error:

TypeError: ‘NoneType’ object has no attribute ‘__getitem__’

It took me WAY too long to figure this out. KVlang just doesn’t support in-line comments.

This is here so that anyone Googling the same error has the shortcut I didn’t.

I don’t really want to type out a full-fledged update right now though. I’m busy!