Python pygments.token.Name.Constant() Examples
The following are 2
code examples of pygments.token.Name.Constant().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
pygments.token.Name
, or try the search function
.
Example #1
Source File: mime.py From pygments with BSD 2-Clause "Simplified" License | 5 votes |
def store_content_transfer_encoding(self, match): self.content_transfer_encoding = match.group(0).lower() yield match.start(0), Name.Constant, match.group(0)
Example #2
Source File: mime.py From V1EngineeringInc-Docs with Creative Commons Attribution Share Alike 4.0 International | 5 votes |
def store_content_transfer_encoding(self, match): self.content_transfer_encoding = match.group(0).lower() yield match.start(0), Name.Constant, match.group(0)