add proper attribution to forked Token class

This commit is contained in:
Gil Forsyth 2017-01-27 07:47:50 -05:00
parent 62fdc080f6
commit e2a7ee615d

View file

@ -7,7 +7,8 @@ from xonsh.lazyasd import LazyObject
class _TokenType(tuple):
"""
Forked from mainline PTK
This class was forked from the mainline prompt-toolkit repo.
Copyright (c) 2014, Jonathan Slenders, All rights reserved.
"""
def __getattr__(self, val):
if not val or not val[0].isupper():