
'''This is a module for dealing with urls. In particular, sanitizing them.'''

import sys

from six import text_type
if text_type == str:
    from .url import UnicodeURL as URL
else:
    from .url import StringURL as URL

from .url import set_psl

def parse(url, encoding='utf-8'):
    '''Parse the provided url string and return an URL object'''
    return URL.parse(url, encoding)


'''This is a module for dealing with urls. In particular, sanitizing them.'''

from six import text_type
if text_type == str:
    from .url import UnicodeURL as URL
else:
    from .url import StringURL as URL

from .url import set_psl

def parse(url, encoding='utf-8'):
    '''Parse the provided url string and return an URL object'''
    return URL.parse(url, encoding)

Drop unused import of sys.
Drop unused import of sys.

  
  '''This is a module for dealing with urls. In particular, sanitizing them.'''
- 
- import sys
  
  from six import text_type
  if text_type == str:
      from .url import UnicodeURL as URL
  else:
      from .url import StringURL as URL
  
  from .url import set_psl
  
  def parse(url, encoding='utf-8'):
      '''Parse the provided url string and return an URL object'''
      return URL.parse(url, encoding)
  
Drop unused import of sys.
## Code Before:

'''This is a module for dealing with urls. In particular, sanitizing them.'''

import sys

from six import text_type
if text_type == str:
    from .url import UnicodeURL as URL
else:
    from .url import StringURL as URL

from .url import set_psl

def parse(url, encoding='utf-8'):
    '''Parse the provided url string and return an URL object'''
    return URL.parse(url, encoding)

## Instruction:
Drop unused import of sys.
## Code After:

'''This is a module for dealing with urls. In particular, sanitizing them.'''

from six import text_type
if text_type == str:
    from .url import UnicodeURL as URL
else:
    from .url import StringURL as URL

from .url import set_psl

def parse(url, encoding='utf-8'):
    '''Parse the provided url string and return an URL object'''
    return URL.parse(url, encoding)
