Skip to content

Commit

Permalink
Fix "from pdfrw import *"
Browse files Browse the repository at this point in the history
    - Issue 35
  • Loading branch information
pmaupin committed Sep 6, 2015
1 parent 38d4dc0 commit 161a8ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions pdfrw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
PdfFileReader = PdfReader
PdfFileWriter = PdfWriter

__all__ = [PdfWriter, PdfReader, PdfObject, PdfName, PdfArray,
PdfTokens, PdfParseError, PdfDict, IndirectPdfDict,
PdfString, PageMerge]
__all__ = """PdfWriter PdfReader PdfObject PdfName PdfArray
PdfTokens PdfParseError PdfDict IndirectPdfDict
PdfString PageMerge""".split()

4 changes: 2 additions & 2 deletions pdfrw/objects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
from .pdfstring import PdfString
from .pdfindirect import PdfIndirect

__all__ = [PdfName, PdfDict, IndirectPdfDict, PdfArray,
PdfObject, PdfString, PdfIndirect]
__all__ = """PdfName PdfDict IndirectPdfDict PdfArray
PdfObject PdfString PdfIndirect""".split()

0 comments on commit 161a8ad

Please sign in to comment.