Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93fad55

Browse files
committed
Mention bytestrings in docstring
1 parent dbc8b9e commit 93fad55

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/matplotlib/dviread.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -769,11 +769,11 @@ class PsfontsMap(object):
769769
Usage::
770770
771771
>>> map = PsfontsMap(find_tex_file('pdftex.map'))
772-
>>> entry = map['ptmbo8r']
772+
>>> entry = map[b'ptmbo8r']
773773
>>> entry.texname
774-
'ptmbo8r'
774+
b'ptmbo8r'
775775
>>> entry.psname
776-
'Times-Bold'
776+
b'Times-Bold'
777777
>>> entry.encoding
778778
'/usr/local/texlive/2008/texmf-dist/fonts/enc/dvips/base/8r.enc'
779779
>>> entry.effects

0 commit comments

Comments
 (0)