Skip to content

Commit

Permalink
Clear up
Browse files Browse the repository at this point in the history
  • Loading branch information
hao.long authored and Hal committed Apr 8, 2020
1 parent 86d5241 commit d62e1cb
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions src/photoshop/_documentinfo.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
"""Metadata about a document object. These values can be set by selecting
File > File Info in the Adobe Photoshop application."""
from ._core import Photoshop
"""Metadata about a document object.
These values can be set by selecting File > File Info in the Adobe Photoshop
application.
"""

# Import built-in modules
from pprint import pformat

# Import local modules
from ._core import Photoshop


# pylint: disable=too-many-public-methods
class DocumentInfo(Photoshop):
"""Metadata about a document object. These values can be set by selecting
File > File Info in the Adobe Photoshop application."""
"""Metadata about a document object."""

def __init__(self, parent):
super().__init__(parent=parent)
Expand Down Expand Up @@ -180,17 +188,6 @@ def ownerUrl(self):
def ownerUrl(self, url):
self.app.ownerUrl = url

@property
def parent(self):
"""Get current document
Returns:
photoshop._document.Document: The Document instance.
"""
from ._document import Document
return Document(self.app.parent)

@property
def provinceState(self):
"""str: The state or province."""
Expand Down

0 comments on commit d62e1cb

Please sign in to comment.