mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
add proper attribution to forked Token class
This commit is contained in:
parent
62fdc080f6
commit
e2a7ee615d
1 changed files with 2 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue