fix typo
This commit is contained in:
parent
100c6b5e89
commit
6e09fd1e97
|
@ -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()}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue