Skip to content

Commit

Permalink
Document filename parameter as deprecated in truetype()
Browse files Browse the repository at this point in the history
  • Loading branch information
GotenXiao committed Feb 23, 2015
1 parent 066faeb commit 7fafd09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PIL/ImageFont.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def truetype(font=None, size=10, index=0, encoding="", filename=None):
Symbol), "ADOB" (Adobe Standard), "ADBE" (Adobe Expert),
and "armn" (Apple Roman). See the FreeType documentation
for more information.
:param filename: Deprecated. Please use font instead.
:return: A font object.
:exception IOError: If the file could not be read.
"""
Expand Down

0 comments on commit 7fafd09

Please sign in to comment.