This commit is contained in:
Thijs Triemstra 2018-02-07 22:20:40 +01:00 committed by Patrick Kanzler
parent 100c6b5e89
commit 6e09fd1e97
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ PROFILES = CAPABILITIES['profiles']
class NotSupported(Exception): class NotSupported(Exception):
"""Raised if a requested feature is not suppored by the """Raised if a requested feature is not supported by the
printer profile. printer profile.
""" """
pass pass
@ -90,7 +90,7 @@ class BaseProfile(object):
return self.features.get(feature) return self.features.get(feature)
def get_code_pages(self): def get_code_pages(self):
"""Return the support code pages as a {name: index} dict. """Return the support code pages as a ``{name: index}`` dict.
""" """
return {v: k for k, v in self.codePages.items()} return {v: k for k, v in self.codePages.items()}