Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #33213: drop SAGE_TMP from sage.misc.misc.
Browse files Browse the repository at this point in the history
  • Loading branch information
orlitzky committed Feb 17, 2022
1 parent 810c855 commit ce5a76d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/sage/misc/misc.py
Expand Up @@ -44,7 +44,6 @@
import pdb
import warnings

from .lazy_string import lazy_string
from sage.env import DOT_SAGE, HOSTNAME
from sage.misc.cachefunc import cached_function
from sage.misc.lazy_import import lazy_import
Expand Down Expand Up @@ -206,19 +205,6 @@ def try_read(obj, splitlines=False):
#################################################


@lazy_string
def SAGE_TMP():
"""
EXAMPLES::
sage: from sage.misc.misc import SAGE_TMP
sage: SAGE_TMP
l'.../temp/...'
"""
d = os.path.join(DOT_SAGE, 'temp', HOSTNAME, str(os.getpid()))
sage_makedirs(d)
return d


@cached_function
def spyx_tmp():
Expand Down

0 comments on commit ce5a76d

Please sign in to comment.