Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relative imports #288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions toml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Released under the MIT license.
"""

from toml import encoder
from toml import decoder
from . import encoder
from . import decoder

__version__ = "0.10.1"
_spec_ = "0.5.0"
Expand Down
2 changes: 1 addition & 1 deletion toml/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re
import sys

from toml.tz import TomlTz
from .tz import TomlTz

if sys.version_info < (3,):
_range = xrange # noqa: F821
Expand Down
2 changes: 1 addition & 1 deletion toml/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from decimal import Decimal

from toml.decoder import InlineTableDict
from .decoder import InlineTableDict

if sys.version_info >= (3,):
unicode = str
Expand Down
4 changes: 2 additions & 2 deletions toml/ordered.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from collections import OrderedDict
from toml import TomlEncoder
from toml import TomlDecoder
from .encoder import TomlEncoder
from .decoder import TomlDecoder


class TomlOrderedDecoder(TomlDecoder):
Expand Down